Tools overview
- Autohotkey: open source tool to automate tasks on Windows
Command line tools
Image compression
- Image Magick: free open source command line tool to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
For Windows, installation via chocolatey is easiest (run as administrator:
choco install imagemagick.app
). If it doesn’t work (test this by runningmagick logo: logo.gif
; this should create a GIF file of the logo in the folder you’re in), you probably needvcomp120.dll
(available here).
Small overview of common commands:
What it does | Command |
---|---|
adjust extension | magick convert img.jpg img.png |
resize | magick convert img.png -resize 50% img.png |
quality | magick convert img.png -quality 75% img.png |
show information about image | magick identify img.jpg |
convert, resize, adjust | magick convert -quality 75% -resize 60% img.jpg img.png |
convert all images | magick mogrify -format png *.jpg |
- Mogrify overwrites the original image file, whereas, magick writes to a different image file.