Image Funktionen
PHP Manual

imagecolormatch

(PHP 4 >= 4.3.0, PHP 5)

imagecolormatchMakes the colors of the palette version of an image more closely match the true color version

Beschreibung

bool imagecolormatch ( resource $image1 , resource $image2 )

Makes the colors of the palette version of an image more closely match the true color version

Parameter-Liste

image1

A truecolor image link resource

image2

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

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.

Anmerkungen

Hinweis: Diese Funktion steht nur zur Verfügung, wenn PHP mit der GD Bibliothek übersetzt wurde, die mit PHP zusammen erhältlich ist.

Hinweis: Diese Funktion setzt die GD Bibliothek in der Version 2.0.1 oder höher (empfohlen wird mindestens 2.0.28) voraus.

Siehe auch


Image Funktionen
PHP Manual