Forum und email

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

This function is currently not documented; only the argument list is available.

매개변수

image1

A truecolor image link resource

image2

A palette image link resource pointing to an image that has the same size as image1

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.

주의

Note: 이 함수는 PHP에 포함된 GD 라이브러리를 사용하여 컴파일하였을 경우에만 사용할 수 있습니다.

Note: 이 함수는 GD 2.0.1 이상이 필요합니다. (2.0.28 이상을 권장합니다)