From SlackWiki
Revision as of 04:58, 27 July 2022 by Dchmelik (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# For every .jpg in a directory, create a thumbnail (smaller) image at 280 pixels high (or comment out, uncomment similar line, for width):
# Resize to 280 pixels height.
for file in *.jpg; do convert -resize x280 "$file" "t$file"; done
# Resize to 280 pixels width.
#for file in *.jpg; do convert -resize 280 "$file" "t$file"; done