Hi Abel,

If you read the comment for the MemoryImageSource constructor that you are
using and the corresponding ColorModel.getRGBdefault() method which is
where it states that it gets the ColorModel from, you should see that
the format of pixels in an image of that format is a single integer
per pixel packed with 4 8-bit values representing alpha,red,green,blue
respectively from highest to lowest.

Opaque blue would be 0xff0000ff.
Opaque green would be 0xff00ff00.
Opaque red would be 0xffff0000.
Opaque black would be 0xff000000.
Transparent would be 0x00000000.

                                ...jim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to