I've been trying to do a freakin' blur all day long and i'm having some 
trouble with math conversions.

Java stores RGB values in an image as a 32 bit integer, containing the 
alpha, red, green, and blue values in each 8 bits.

In my world, the alpha is always non-transparent, ie 255...

For example...

255,255,0,0 = a red pixel
255,255,255,0 = a yellow pixel
255,0,0,255 = a white pixel.

The problem is I'm having trouble grasping conversion between 4 sets of 
8 bit numbers and a 32 bit number.


I know it involves bit shifting and stuff like that but .. I'm just not 
getting it.

Could someone explain it to me like I'm a 6 year old?  (apologiez to 
Denzel Washington for that)

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263805
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to