my dog learned polymorphism
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Question about Color and BufferedImage" Watch "Question about Color and BufferedImage" New topic

Question about Color and BufferedImage

Ivan Slavka

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:
subject: Question about Color and BufferedImage
It's not a secret anymore!