in reply to Re^3: GD colorAllocate not changing colour
in thread GD colorAllocate not changing colour
..or simply force truecolor with the class method
use GD 2.0.33; GD::Image->trueColor(1);
Infact:
> For backwards compatibility with scripts previous versions of GD, new images created from scratch (width, height) are palette based by default.
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: GD colorAllocate not changing colour
by Your Mother (Archbishop) on May 16, 2021 at 18:38 UTC |