an introduction to graphic file formats.jpg.gif.tiff bmp and.eps and.psd

30
An Introduction to Graphic File Formats .jpg .gif .tiff bmp and .eps and .psd ...

Upload: daisy-bennett

Post on 28-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

An Introduction to Graphic File Formats

.jpg .gif .tiff bmp and .eps and .psd ...

Page 2: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Two Types of File Formats

Bitmap Vector

Page 3: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Bitmap Bitmap files store information as a pattern of pixels

(tiny, colored/black and white squares)

– Usually used for photographs and other continuous-tone images

– Resizing results in resolution change and may degrade image quality

Page 4: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Vector Vector files store information as

mathematical data

– Usually used for line art, logos, etc.

– Can be resized/scaled without quality loss

Page 5: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

What is Resolution?

Measurement of the output quality of an image

Page 6: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Graphic Images are Measured In:

Pixels (px)

Dots (dpi)

Lines (lpi)

Page 7: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Summary

Print

Higher resolution needed for print qulaity (300 dpi)

Web

Lower resolution needed for quick loading of pages (72)

Page 8: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Line screen and commercial printing

Lines per inch (LPI), also called “line screen,” has to do with commercial printing of photographs/artwork

– DPI of an image should be at least 1.5x the LPI

The higher the line screen, the better the image

– Laser printers can usually print at 50-65 lpi

– Newspapers usually run 80-100 lpi

– Standard offset printing is 133-150 lpi

– High-quality art books may run as high as 250 lpi

Higher line screens require better paper

Page 9: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Halftones in commercial printing

Four colors are printed to make up a full-color image

– C-M-Y-K (cyan, magenta, yellow, black)

Colors are laid-down at angles, in a “rosette” pattern, to create the illusion of continuous tone

Most colors can be recreated using CMYK inks

Page 10: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Primary file types

JPEG

GIF

PNG

EPS

TIFF

BMP

PICT

PDF

MPEG

Page 11: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

JPEG Files

Joint Photographic Experts Group (.jpg)

Often used for Web graphics

Allows for varying levels of file compression and file size, but results in quality loss

Scaling-up results in quality loss

Best for on-screen use; not good for printing

Very good compatibility

Text can be blurry

Page 12: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

JPEG Files: Colors and optimization

24-bit file, which gives more colors

Ideal for continuous tone images

Images with only a few colors or large blocks of color are larger as a JPEG

Relies on lossy compression technique that deletes data through a series of complex algorithms

Consequently, as size is reduced, so is quality

Page 13: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

JPEG file compression options

Page 14: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

JPEG compression vs. file sizes

Low compression = Best quality, largest file size

Medium compression = Acceptable quality and size

High compression = Poor quality, small file size

Highest quality setting (#10)Medium quality setting (#5)Lowest quality setting (#1)

Page 15: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

GIF files

Graphic Interchange Format (“Giff” or “Jiff”)

Developed by CompuServe in late 1980s

Good for basic Web graphics with text and line drawings

Keeps text fairly sharp

Only supports 8-bit color (256 colors)

Small file size

Use for logos, etc.

Page 16: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Line art definition

Line art is usually associated with print. It includes maps, charts, line drawings such as technical art; also cariacatures, cartoons, etc.

Page 17: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Use GIFs when Working with Line Art and Cartoonish-type Images

Page 18: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Compression and Optimization

GIFs use lossless compression

Lossless compression reduces image size without affecting quality

Page 19: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

GIFs and Animation

GIF can be saved as a series of images within one file

Along with embedded control data, this allows for “animated GIFs”

Only option for animation other than Flash

Page 20: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

GIFs and Interlacing

GIF format allows for individual scan lines to be stored out of order

Allows browser to display image through progressive passes

Page 21: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

GIFs and Interlacing

Image that gradually comes into focus

Lines come in at intervals

Popular back when dial-up service was prevalent

Offers no advantage with high-speed as interlaced and regular GIFs display instantly

Page 22: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

PNG Files

Portable Network Graphics

Developed in response to the Unisys copyright episode

Intended to replace GIF and has many improvements (supports more colors)

Lossless compression technique called “deflate”

“Deflate” is superior at compressing an image without reducing its quality

Do not directly support animation, though several extensions to the format do

Page 23: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Why Don’t We See More PNG Files?

Slow browser support, notably IE

Versions 3-6 didn’t support the transparency feature

Added in IE 7

All other browsers fully support it: Mozilla, Safari, Opera, etc.

Page 24: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

EPS files

Encapsulated PostScript (.eps)

Can be used for bitmap and vector images

Based on PostScript printer language developed by Adobe in 1980s

Uses coordinates for image information

Different from .PS files (do not use/print these!)

May need to save different previews for Mac/PC (TIFF vs. PICT)

Page 25: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

TIFF files

Tag Image File Format (.tif)

Most widely supported file format for print

Best for continuous-tone images

Best for printing

Larger file sizes than JPEG files

Image resolution/size is locked upon saving

Enlarging image results in quality loss

Page 26: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

BMP and PICT files

BMP is the standard Windows graphics format

PICT is the standard Macintosh graphics format

Don’t use if possible

Page 27: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

PDF file

Portable Document Format

Not really a graphic-file format per se

Designed for document exchange

Re-creates original document, including fonts, as an image file

Able to read PDFs across platforms without problems

Need Adobe Acrobat full version to create

Need Adobe Acrobat Reader (free) to read

– More than 500 million people have Acrobat Reader

Page 28: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

Other file types

PSD = Photoshop document

– Can only be read by Adobe Photoshop

MPEG = Motion Picture Experts Group (“M-Peg”)

– A compressed file format for video

Page 29: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

“Save-as” Options in MS PhotoEditor

Page 30: An Introduction to Graphic File Formats.jpg.gif.tiff bmp and.eps and.psd

So, What do I Use?

For Web or on-screen display (PowerPoint):

– JPEG for photos or complicated images (colors)

– GIF for line art, logos with text, buttons, etc. PNG for non-animated images and when richer color palette needed

– 72-75 dpi to keep the file size down

For commercial printing

– TIFF is usually safest for photos and continuous tone artwork

– EPS also good, but check with printer first

– At least 266 dpi at actual image size