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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Question about Color and BufferedImage
 
Similar Threads
Logical operation on Image
Text description of a color
getGraphics returnning null pointer exception
BufferedImge color problem
Sometimes applet doesn't draw some JPanel elements