Results 1 to 1 of 1
Thread: Pixels
- 03-01-2011, 11:32 AM #1
Member
- Join Date
- Dec 2010
- Posts
- 20
- Rep Power
- 0
Pixels
Hi everyone,
I am doing a little software and I came across this piece of code and I don't understand what it does. It makes my software work perfectly but I don't want to include some piece of codes whose functioning I don't understand. Can anyone help me in understanding this piece of code?
In many code involving pixels, color models and colors, I see the >> sign. What does this >> sign means in the above example?Java Code:int red = (c & 0x00ff0000) >> 16; int green = (c & 0x0000ff00) >> 8; int blue = c & 0x000000ff;
Similar Threads
-
Decimal Pixels?
By Jcbconway in forum AWT / SwingReplies: 0Last Post: 11-29-2010, 09:25 PM -
Pixels and Color
By tenis_09 in forum Java 2DReplies: 3Last Post: 07-12-2010, 11:29 PM -
Modified Pixels
By monkey04 in forum Java 2DReplies: 1Last Post: 03-12-2009, 08:15 AM -
Blurring pixels
By tim in forum New To JavaReplies: 0Last Post: 01-01-2008, 02:06 PM -
Counting Pixels
By shaungoater in forum Java 2DReplies: 5Last Post: 11-29-2007, 05:51 PM


LinkBack URL
About LinkBacks

Bookmarks