Last active
March 15, 2025 10:41
-
-
Save minisu/1fdf630d05d5f4e1e5f14b0fdd66c96d to your computer and use it in GitHub Desktop.
Widen images by pillarboxing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Converts 4:3 photos to 16:9. | |
# Useful in order to make smart phone photos look good on a TV (such as in Samsung Ambient mode). | |
# Requires ImageMagick to be installed. | |
for f in ./*.jpg ; do magick "$f" -gravity center -background black -extent 133x100% "${f%.jpg}-wide.jpg" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment