Fix #410, document the exact behavior. It is not possible to change behavior at this point.

master
Pierre Joye 2021-08-27 07:00:11 +07:00
parent 284a2c6cae
commit 1b3f6fbe94
1 changed files with 5 additions and 0 deletions

View File

@ -863,6 +863,11 @@ BGD_DECLARE(int) gdImageColorResolveAlpha (gdImagePtr im, int r, int g, int b, i
* Removes a palette entry
*
* This is a no-op for truecolor images.
* The function does not alter the image data nor the transparent color or any
* other places where this color index could have been referenced.
* The index is marked as open and will be used too for any subsequent <gdImageColorAllocate>
* or <gdImageColorAllocateAlpha> calls. Other lower index may be open as well, the fist open index
* found will be used.
*
* Parameters:
* im - The image.