imagecolordeallocate
(PHP 4, PHP 5)
imagecolordeallocate — Αποδεσμεύσtε ένα χρώμα για μία εικόνα
Περιγραφή
int imagecolordeallocate
( resource $image
, int $color
)
Η συνάρτηση imagecolordeallocate() αποδευσμεύει ένα χρώμα που δεσμεύτηκε προηγουμένως με τη συνάρτηση imagecolorallocate().
$white = imagecolorallocate ($im, 255, 255, 255);
imagecolordeallocate ($im, $white);