The setPixel routine assumes an indexed color to be passed (AFAIK), but...if you've declared a truecolor image, do you still have to pass an RGB value to colorClosest or colorExact to get a color index? Even though it's not indexed? Or is there some way to pass an RGB value directly to setPixel?
Thanks!
--
"...if you drink much from a bottle marked 'poison,'
it is most certain to disagree with you, sooner or later."
-- Lewis Carroll, Alice's Adventures in Wonderland
In reply to gd, setpixel, and truecolor by madopal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |