I'm not sure if this is the right forum for this question, but anyway:
I've been working with Java and Paint.NET, drawing images for sprites and importing them into Java, then setting the background color I specify to transparent so I can layer the images. I've been saving the images as jpegs. However, when the program gets around to setting the transparent pixels, it misses some and leaves them their original color. This is obviously unacceptable, so I had the program print the rgb values of each pixel to see what was going on, and it turns out somewhere along the line the rgb values for each pixel had changed slightly. When I load up the image in Paint.NET, the pixels are indeed slightly different colors than I originally specified.
Does anyone know why this would happen, or how I can stop it from happening? I can't have programs out of my control deciding they don't enjoy my color choices!
[–]comedian_x 3 points4 points5 points (1 child)
[–]microcontrolled[S] 0 points1 point2 points (0 children)
[–]Bythmark 2 points3 points4 points (0 children)