I am afraid in don't quite understand how imaging in Java works ...
I am storing thumbnails of image files in a database. The thumbnails are always in JPEG format. When i want to store images with transparency (GIFs or PNGs) the "background color" of the alpha channel is always rendered black in the JPEG. I'd like it to become white, but I have no idea how.
I have already tried to set the background color of the Graphics2D object to white, but without visble results.
This is my code
Please note that my app runs on OC4J 10.1.2, so i'm limited to JDK 1.4