scripts/img-scripts
2025-03-13 19:07:57 +01:00
..
downsize-for-web.sh (img-scripts) Add downsize-for-web script 2025-03-13 19:07:57 +01:00
README.org (img-scripts) Add downsize-for-web script 2025-03-13 19:07:57 +01:00
social-media-framing.sh (img-scripts) Add downsize-for-web script 2025-03-13 19:07:57 +01:00

Image Helper Scripts

A collection of little bash scripts using ImageMagick and exiftool for adjusting images.

social-media-framing

Preparing pictures for sharing on social networks. The image given as first argument is used as a source to create the following three variations:

  • No changes, except a maximum resolution of 1920px at the longest edge (suffix -regular)
  • White border to make the image a 1920x1920px square (suffix -square)
  • White border to make the image a 1080x1920px portrait orientation "story" (suffix -story)

downsize-for-web

Downsize given image (first argument) for web by converting it to WebP with a maximum resolution of 1920x1920px and a target size of about 350kb.