in reply to Cannot Set Image Pixel to a Random Colour using GD
Handwavy (early and my morning caffeine hasn't kicked in) but if you're trying to uniformly desaturate all colors what I'd do would be to walk the pallet instead (not swapping the image to true color of course):
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot Set Image Pixel to a Random Colour using GD
by ozboomer (Friar) on Dec 25, 2022 at 10:15 UTC |