Digital images

Readings

lh.gif Lynch & Horton, pp.153-190 GRAPHICS chapter, in particular, we'll refer to this monitor diagram. See also:

A digital image is...

Computer displays

Context for pixel sizes

        Width (in pixels)    
high quality -- large file size      
  3872 width of the largest image (highest "resolution") of a $1000 digital SLR (Nikon D80) 10 Megapixel digital camera

  1600 image width at the highest resolution of a "2 Megapixel" (sub $200) digital camera

minimum recommended for a 10" X 8" photo print at Winkflash.com

  1400 Typical width in pixels of the 20" widescreen LCD screens in the Schertz student computer labs.

  1024 Most common (~48%) width settings for PC screens of computers connected to the Internet (2008).

minimum recommended for a 6" X 4" photo print at Winkflash.com

  800 full width of the screen for about 8% of folks browsing the net. (2008 w3schools stats).

  640 minimum width (in pixels) of PC computer screens

  550 Typical width of a full-size SST website image.

  240 Width of a typical Smartphone screen screen.

  160 Barbie camera width of the digital images saved by a Barbie digital camera...ca. $30.


  100

width of SST thumbnail images


not much detail -- but small file size 30 width of thumbnail images used for navigation on the Washington Post Van Gogh exhibit website

Numbering (digitizing) colors

Colors in nature are not numbered. Rather, light can vary smoothly and continuously from one color to another, as in a rainbow. In the same way, musical tones are not numbered, and can vary smoothly and continuously from one note to another (think: blues guitar). But in Western music we chop one octave into pieces.

A computer has a hard time with continuous quantities. We must "digitize color": chop the rainbow into pieces, and give each color "note" a name. The number of notes or intervals that we chop color up in to is called the bit-depth or color depth.

To find out the color depth of your computer, (windows) go to the start menu, pick Settings | Control Panel | Display then pick the "Settings" tab. Or, right-click on an empty part of the screen, and pick properties.

24-bit and higher color


Lower bit depths (and Photoshop)


Photoshop allows you to work with "indexed color" images: which have at most 256 ("8-bit") or fewer different colors.
Small devices, such as phones or pdas, might only support lower-bit-depth images.

Image file formats

.psd

When you save a file, Photoshop will volunteer to save it as a .psd (PhotoShop Document) file which is wonderful for

However no browser knows how to display .psd images.

You'll almost always ("File | Save for Web...") save a copy of your image in one of the 3 main web graphics file formats: .gif, .png, .jpg. These differ in how small they can save different types of images and some other features.

.gif

Compuserve developed its Graphics Interchange Format before the web to transmit images to its network of subscribers. .gif images:

.jpeg, .jpg

Developed by photographers, this format is (surprise!) well suited to photographic images, or other images with smooth (rather than abrupt) color changes. Files stored in jpeg format:

.png

The newest, web-oriented image file format, .png:

.pdf

What happens when you reduce the color depth of an image?


When you save a "gif" copy of an image that you've been editing in Photoshop, or view a 24-bit image on a display that allows many fewer colors the computer has to decide what to do.






This image shows a.) an original, b.) mapped to 64 colors with no dithering, c.) mapped to 64 colors with dithering.

Browser-safe (or 'web-safe') 8-bit palette


The term 'browser-safe" refers to the 216 colors that Macs and PCs set to 8-bit mode (256 different colors) have in common. But since about 2006, Paul judges that the number of computers set to 8-bit mode is small enough that we no longer need to constrain our designs to accommodate such hardware.