Last active
October 2, 2020 23:30
-
-
Save mkrupczak3/756059000e3598a702361485ae68778d to your computer and use it in GitHub Desktop.
Batch convert Steam uncompressed PNG videogame screenshots to high-quality low compression JPG for use with twitter
This file contains 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
# Batch convert Steam uncompressed PNG videogame screenshots to high-quality low compression JPG for use with twitter: | |
find . -type f -iname '*.png' -print0 | xargs -0 -n 1 -P 4 -I {} convert -verbose -units PixelsPerInch {} -colorspace sRGB -resize 3440x1440 -set filename:new '%t-%wx%h' -density 72 -format JPG -quality 97 '%[filename:new].jpg' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change .png to .ARW if you wish to convert a bunch of photos from a fancy DSLR camera in raw mode to high-quality JPG's