Hello:
I have PHP 4.3.1, so I also have the lattest version of GD/GD2.
What I want to do -but I can't- is: having a grayscale photo of an object over white, by appliying a kind of mask just "paint" the photo with a choosed color (regarding opacity, etc. but this is not the point). It's the common application of "custom" shopping (to see different colors of a car before buy it, but using the same photo).
I tried 'a lot of' things and combinations. Mainly I used ImageColorTransparent(), ImageCopy(), ImageCopyMerge(), ImageFill(), but without luck... Example: I load the image, then I set white with ImageColorTransparent() and tried to fill the result
with ImageFill(), etc.
I you could help me I'll be grateful.
Regards,
Tarkus