This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Question about Color and BufferedImage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Question about Color and BufferedImage" Watch "Question about Color and BufferedImage" New topic
Author

Question about Color and BufferedImage

Ivan Slavka
Greenhorn

Joined: Feb 06, 2012
Posts: 11
Hi guys,

I'm trying to learn more about java computer graphics, and in my study I encountered following problem.
Probably there is a simple solution to this, but I'm baffled.

Here's the question, why the integers that represent color are not the same?
Also I noticed that when I change value 255 => 254 the integer of the color object gets recalculated but the one in the bufferedImage doesn't, why is that?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about Color and BufferedImage
 
Similar Threads
Text description of a color
Logical operation on Image
getGraphics returnning null pointer exception
BufferedImge color problem
Sometimes applet doesn't draw some JPanel elements