This function appears to work by changing the values of the colors of the paletted image -- no good if you're trying to force the resultant image to stick with certain pre-defined color values.
![]() |
|
||||||||||
|
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 )
Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примечания
imagecolormatch
albriNOght at anSPAMre dot net
12-Dec-2005 09:22
This function appears to work by changing the values of the colors of the paletted image -- no good if you're trying to force the resultant image to stick with certain pre-defined color values.
Samantha
08-Feb-2004 07:14
This function is a godsend! It works exactly as documented. |