Skip to content

Instantly share code, notes, and snippets.

@szabo92
Last active September 14, 2018 14:29
Show Gist options
  • Save szabo92/601877f4c674b2ed57fdc0869bef96f2 to your computer and use it in GitHub Desktop.
Save szabo92/601877f4c674b2ed57fdc0869bef96f2 to your computer and use it in GitHub Desktop.
Reduce size of image
mogrify -path ./resized -filter Triangle -define filter:support=2 -thumbnail WIDTH -unsharp 0.25x0.25+8+0.065 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB -strip *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment