This has me really mystified. WinXP,
Java 1.5, JAI version 1_1_2_01.
I need to read a screen-shot of a dialog in GIF format, draw on the image, and write out the modified image. I am reading a BufferedImage with ImageIO and trying to modify it in the following code.
The intent being to draw green rectangles around rectangles of interest. Note that I have to change the type from GIF to PNG (or jpg) because ImageIO does not support writing GIF (that Compuserve copyright thing).
The first screen shot I tried - worked great - green rectangles around the hot spots in the resulting image file.
The second screen shot -
- grey rectangles, not green.
Looking at the characteristics of the screen shot GIF files with paint shop pro - they appear to be identical, no special transparency, typical color set, etc.
I'm wracking my brain here
What can possibly be causing the color in the second example to be grey, not the Color I specified?
Bill