Skip to content

Instantly share code, notes, and snippets.

@dw72
Created March 22, 2018 09:04
Show Gist options
  • Save dw72/d6bb0339bd0673db17bce4b09f7c2c15 to your computer and use it in GitHub Desktop.
Save dw72/d6bb0339bd0673db17bce4b09f7c2c15 to your computer and use it in GitHub Desktop.
Upscale jpg images in current directory
for i in *.jpg; do convert $i -set colorspace sRGB -colorspace RGB +sigmoidal-contrast 15,50% -filter Lanczos -define filter:blur=.9264075766146068 -distort resize 200% -sigmoidal-contrast 15,50% -colorspace sRGB ./out/$i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment