aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Getting Pixel from int values (red green blue) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Getting Pixel from int values (red green blue)" Watch "Getting Pixel from int values (red green blue)" New topic
Author

Getting Pixel from int values (red green blue)

H Melua
Ranch Hand

Joined: Jan 04, 2005
Posts: 172
Hello guys

I've got a pixel from an array, and I'm getting the colours from that pixel as follows



then i play with the pixels as i need to...

and what i want to do now is to reconstruct the pixel (in order to rewrite it to the array)...

how do i do that?

Thanks
HannaH
[ October 19, 2007: Message edited by: H Melua ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42912
    
  68
By doing the opposite:

H Melua
Ranch Hand

Joined: Jan 04, 2005
Posts: 172
Thank you star
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Pixel from int values (red green blue)