Lets Talk About Pixels
- Pixels are stored as a 1-dimensional array of ints
- Each int is formatted according to Java's standard pixel model
The 4 bytes of a 32-bit Pixel int.
if Alpha is 0 the pixel is transparent.
if Alpha is 255 the pixel is opaque.
- Layout of the pixel array on the display:
- This is the image format used internally by Java
|