aspose file tools*
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 Spring in Action this week in the Spring 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