Originally posted by alexandros mouzakidis:
I want to copy an image to another but i want to copy every pixel except from these with a specific color value for example the value 0x00ff00
and what do you want to achieve by that?
WHY do you want to go through all this pain?
See, you can do copy stuff by mutable images only, whose all pixels are initialized to some OPAQUE color. So this way you CANNOT preserve or CREATE transparency.
So, the only method (that I know) to maintain transparency of an image in MIDP 1, is using setClip(). But this is effective only if you paint the image as it is on the screen and not on an intermediate mutable image.
Dont think all this was very helpful, so kindly answer the first 2 questions and people here may provide some work around.
- Ramy..