CS 101 Notes 10/5/2010 Pictures - a matrix of pixels (picture elements) each pixel has: an X position a Y position a RED amount a GREEN amount a BLUE amount The color values can range from 0 to 255 each color uses 8 bits of information 00000000 in binary is 0 in decimal 11111111 in binary is 255 in decimal For an image that is 640x480 pixels the the valid X positions are from 0 to 639 the valid Y positions are from 0 to 479