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

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

Notifications You must be signed in to change notification settings

forestguild/website

Repository files navigation

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