Image optimisation

Pixel-based images #

Gulp is configured to optimise any jpg, png or gif by using a lossless compression. Lossless means that no quality is lost, so when developing, you can safely use the images found in the dist folder, while also keeping the originals.

SVG #

We are optimising our SVG’s with the svgo-tool with these presets:

removeViewBox: false

removeDimensions: true

Read more about the options of svgo