Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env bash
convert source.png lower.jpg
flation(){
convert lower.jpg -resize 107% lower.jpg
}
quality(){
convert lower.jpg -quality 1 lower.jpg
}
for i in `seq 20`; do
flation
quality
done
convert lower.jpg good.png
convert good.png -resize 1000% good.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.