Small-files

From XPUB & Lens-Based wiki
(Redirected from Compression)

How to compress images?

What is data compression? It's a way to encode information in such way, that is uses less bytes to store it.

General useful references:

And if you are curious to learn how image files are encoded, have a look at the following links:

Image file types

Image resizing

Decrease the file size of an images by saving them with specific settings: quality, smoothing, progressive loading, no exif data, color sub-sampling. You can do this in Gimp, Imagemagick or Photoshop.

Dithering

Keep your web pages light!

Check the size of a web page

Right-click on inspect and click on network.

Lazy loading

CSS sprites

Links

Small files as a feature

Command line tools

Discussion points

See also