image formats characteristics © adolf knoll, national library of the czech republic

18
Image formats Characteristics olf Knoll, National Library of the Czech Republic

Upload: rudolph-stevenson

Post on 20-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Image formats

Characteristics

© Adolf Knoll, National Library of the Czech Republic

Page 2: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

What a format does contain?

Information about: Resolution (vertical and horizontal) Colour depth Compression … a lot of other data to enable the correct

display or printing (ICC profiles, e.g.)

Some formats offer only selected opportunities.

Page 3: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Types of image formats

ISO initiatives (TIFF; JPEG, JBIG, /MPEG/)

De facto standards (PNG) Very proprietary formats (PSP, PSD,

ZMF, … - internal formats of graphical tools)

Page 4: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

TIFF – Tagged Image File Format

ISO definition A container that can incorporate so

many parameters This may cause various problems with

reading or writing TIFF

Page 5: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

TIFF and write/read problems

Black and White (1bit, 2 colours) Huffman RLE encoding CCITT Fax Group 3 CCITT Fax Group 4 (TIFF 4)

Colour (up to 24 bits, true colour) no compression LZW (TIFF 5) Mackintosh Packbits JPEG (TIFF 6) PNG

Page 6: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

True Colour Black and White

Page 7: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Grey scale256 shades of grey

Grey scale16 shades of grey

Black and White2 colours

8 bit 4 bit 1 bit

Page 8: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

24 bit/True colour 8 bit 4 bit

16,7 million colours 256 colours 16 colours

Page 9: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

TIFF Fax Group 4

TIFF can also contain more images (multipage TIFF, gr. 6) in one.

Page 10: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

BMPMicrosoft Windows Bitmap

It supports 16,7 million colours, frequently only with 256 colours

It supports RLE compression Fast reading as any other

uncompressed bitmap

Page 11: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Web image formats

There are 3 formats recommended by the WWW consortium for web:

GIF JPEG

PNG (latest recommendation) … and also SVG

Page 12: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

GIFGraphic Interchange Format

256 colours - palette format each GIF has its own palette this is difficult to combine LZW compression scheme highly used on the web several modifications in the WWW environment used frequently as

the so-called transparent, interlaced, or animated GIF

Page 13: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Palettes of GIF images

Page 14: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Transparent GIF

One colour in the 256-colour palette can be indicated as transparent

Page 15: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

Animated and Interlaced GIF

Animated GIF on web pages Interlaced GIF as many other formats

can appear successively step by step

Page 16: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

JPEGJoint Photographic Expert Group

True colour, 24 bit Lossless or lossy compression: the

compression ratio must be tuned individually (software dependent)

Possibly progressive encoding (not recommended - read problems possible)

irreplaceable for compression of photorealistic images

Page 17: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

PNGPortable Networks Graphic

True colour format; allows up to 48 bit encoding

PNG compression: lossless, 9 degrees Slightly more economic compression

than GIF, but more colours transparency (alpha-channel) possible,

interlaced character possible

Page 18: Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic

WWW and images

3 formats are recommended by the WWW consortium:

GIF, JPEG, PNG (recently)

Other formats possible, but they require special components to be installed into web browsers (ActiveX, plug-ins).