GD colorDeallocate()
syntax: |
gd.colorDeallocate(color) |
where: |
color - color index to deallocate.
|
return: |
void.
|
description: |
This method frees up the color at index color for later use. The color index will remain the same, but it may be re-allocated at any point and changed. Note that this function simply marks the color for reuse, so that the total colors allocated in the image still remains the same. If a call to colorAllocate() immediately follows this call, then the old index will be re-used for the new color, and all pixels within the image with that index will be altered as well.
|
see: |
#link <gd>, GD colorAllocate()
|