graphics in the web digital media: communication and design. 06.03.2007

33
Graphics in the web Digital Media: Communication and Design. 06.03.2007

Post on 22-Dec-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Graphics in the webDigital Media: Communication and Design.

06.03.2007

Page 2: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Comments

Mandatory assignmentDon’t panic!!Photoshopphotoshop.html in public_htmlPicture of yourself

Page 3: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Goals of the lecture

What is a digital image Different formats we can use in the web

GIF, JPEG, PNG Basic things about Photoshop

Continued in the assignment

Page 4: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Index

Digital image GIF JPEG PNG Image editing

Page 5: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Digital image

Rectangular grid of pixels Resolution: width x height

in pixels 9 x 12 = 108 pixels Colour depth: amount of

information in each pixel

1 2 3 4 5 6 7 8 9123456789101112

Page 6: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Digital image II

Page 7: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Vector image

Shapes are defined by mathematical expressions

Can scale without losing detail Example with Flash

Page 8: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

600

400

800x600

1024x768

Page 9: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

ResolutionDisplay resolution stats (w3schools)

Higher 26%

1024x768 54%

800x600 14%

640x480 0%

Unknown 6%

Page 10: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Resolution

2272 x 1704 3.8 megapixels 11.1 MB uncompressed 1.5 MB JPEG

640 x 480 (web size) 0.3 megapixels 900 KB uncompressed 106 KB JPEG

Page 11: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Colour depth

Bit: unit that represents either a 0 or a 1

Binary image: Black and white 1 bit per pixel 80x100 = 80 Kbits = 10 KB

Page 12: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Colour depth II

Greyscale image:8 bits per pixel = 256

possible values

Page 13: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Colour depth III

RGB colour: Combine Red, Green and Blue light Values usually given in hexadecimal base R: 241 = #F1 G: 21 = #15 B: 109 = #6D

Page 14: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Colour depth IV

True colour:24 or 32 bits per pixel =

16.777.216 values8 bits for each colour and

alpha channel85% of users

(thecounter.com)

Page 15: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Colour depth V

Indexed colour8 bits per pixel = 256 colours at one timeThe possible colours are stored in a palette

(colour map)

Page 16: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Index

Digital image GIF JPEG PNG Image editing

Page 17: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

GIF

Graphic Interchange Format Indexed images with max 8 bits per pixel Lossless compression May contain transparent areas May contain multiple images

Page 18: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

GIF II: Palette

Contains the colours that can be used Maximum of 8 bits = 256 colours Common palettes:

Exact Adaptive Perceptual Selective (default in Photoshop)

Example: blue.jpg, brown.jpg

Page 19: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

GIF III: Compression

Lossless compression Good when compressing areas with the

same colour Not good for gradients or photos

Page 20: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

GIF IV

Number of colours:Find minimum number of

colours needed Dither: “create” colours

with a limited paletteExample

Bit depth # of colours1 22 43 84 165 326 647 1288 256

Page 21: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Index

Digital image GIF JPEG PNG Image editing

Page 22: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

JPEG

Joint Photographic Experts Group RGB 24-bit colour image Lossy compression No transparency

Page 23: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

JPEG II

Very good compressing photographic images

Not good compressing flat coloursExample in Photoshop

Lossy compression: It’s possible to specify the degree of

compression

Page 24: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Index

Digital image GIF JPEG PNG Image editing

Page 25: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

PNG

Portable Network Graphic Created for the web 24- or 48-bit colour, 16-bit grayscale and

8-bit indexed colour images Lossless compression 8- or 16-bit alpha channel W3C and ISO standards

Page 26: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

PNG II

Better compression than GIF Larger files than JPEG

But better quality IE6 doesn’t support transparency

Page 27: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Which format to choose

PNGJPEG GIF

Page 28: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Index

Digital image GIF JPEG PNG Image editing

Page 29: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Some basic Photoshop

Dark Mid Light

Page 30: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Some basic Photoshop II

Page 31: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Some basic Photoshop III

Page 32: Graphics in the web Digital Media: Communication and Design. 06.03.2007

Digital Media: Communication and Design F2007

Some basic Photoshop IV

Page 33: Graphics in the web Digital Media: Communication and Design. 06.03.2007