Web graphics:

past, present and future

GIF era

PNG

Transparency with alpha-channel

Loseless compression

Raster format

PNG sprites

Smaller total download size

Less HTTP-requests

 

Extra calculations

Still raster format :(

PNG 2x

Looks almost perfect on HD (2x) displays

 

Requires 2 versions of images

What about 3x, 4x, Xx?

Font Icons

Vector!

Support coloring

Not supported in some browsers and devices

Hard to position

No multi-colour support

Looks like a hack :(

 

 

SVG era

Multi-colouring

Support for data:image

We still have IE8 (almost 3%)

 

 

Grunticon

Automation

All possible fallbacks (down to IE6)

Requires a bit of JavaScript

 

Future [discussion]

Foreground SVG images with interactivity and styleability

 

Responsive images with <picture> element

<takk antall="tusen" />

Maxim Salnikov

Web-frontend developer

Meetups organizer

salnikov@gmail.com

no.linkedin.com/webmax

Web graphics: past, present and future

By Maxim Salnikov

Web graphics: past, present and future

  • 1,830