Created
April 3, 2023 18:19
-
-
Save oclero/20a4c980ee54bc7de565d559015957c2 to your computer and use it in GitHub Desktop.
Convert Solarus PNG screenshot to bigger JPEG one
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
#!/bin/sh | |
# Needs imagemagick | |
for i in *.png; do convert "$i" -quality 90 -interpolate Nearest -filter point -resize 400% "${i%.*}.jpg"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment