Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Latest commit

 

History

History
13 lines (8 loc) · 649 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 649 Bytes

Guild "Ясный Лес" website Build Status

URL: forestguild.club

Image optimization

Requirements: imagemagick, jpegtran

  1. mogrify -format jpg *.* - convert all to jpeg (original non-jpeg may be deleted)
  2. find ./assets/img/ -name "*.jpg" -type f -exec jpegtran -copy none -optimize -progressive -outfile {} {} \; - optimize jpeg
  3. mogrify -format webp *.* - convert to webp

jpeg is required for browsers without webp support. Check it here