Skip to content

Instantly share code, notes, and snippets.

@dw72
Created March 22, 2018 09:04
Show Gist options
  • Select an option

  • Save dw72/d6bb0339bd0673db17bce4b09f7c2c15 to your computer and use it in GitHub Desktop.

Select an option

Save dw72/d6bb0339bd0673db17bce4b09f7c2c15 to your computer and use it in GitHub Desktop.

Revisions

  1. dw72 revised this gist Mar 22, 2018. No changes.
  2. dw72 revised this gist Mar 22, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion upscale-jpg.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    for i in *; 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
    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
  3. dw72 created this gist Mar 22, 2018.
    1 change: 1 addition & 0 deletions upscale-jpg.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    for i in *; 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