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 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 Android Security Essentials Live Lessons this week in the Android 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: 41141
    
  45
By doing the opposite:



Ping & DNS - my free Android networking tools app
H Melua
Ranch Hand

Joined: Jan 04, 2005
Posts: 172
Thank you star
 
 
subject: Getting Pixel from int values (red green blue)
 
Similar Threads
Logical operation on Image
Number of colors in an Image
How do i find out what color a certain pixel is?
Image Animation...
Points on an Image