imagecolormatch
(PHP 4 >= 4.3.0, PHP 5)
imagecolormatch — Makes the colors of the palette version of an image more closely match the true color version
說明
bool imagecolormatch
( resource $image1
, resource $image2
)
Warning
此函式目前沒有參考文件;只有引數列表。
參數
- image1
-
A truecolor image link resource
- image2
-
A palette image link resource pointing to an image that has the same size as image1
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。
註釋
Note: 本函式僅在 PHP 與其包含的 GD 函式庫一起編譯時可用。
Note: 本函式需要 GD 2.0.1 或更高版本(推薦 2.0.28 及更高版本)。