(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
Makes the colors of the palette version of an image more closely match the true color version
A truecolor image link resource
A palette image link resource pointing to an image that has the same size as image1
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Замечание: Эта функция доступна только в том случае, если PHP был скомпилирован со встроенной библиотекой GD.
Замечание: Эта функция нуждается в GD версии 2.0.1 или выше.