Drew Haven a.k.a. Periodic

Useful Utilities

Last updated

Here’s a small collection of various utilities and recipes I find useful. It’s not organized in a particular way, but more as a long-term memory for me.

JPEG Optimization

jpegoptim is a handy little utility for doing JPEG optimization. I use it to compress files and strip EXIF data. Here’s an example that will process all the files in the current directory and compress them to a reasonable 85.

nix run 'nixpkgs#jpegoptim' -- --max=85 --strip-all *.jpg