Skip to content

Instantly share code, notes, and snippets.

@batisteo
Created November 25, 2018 10:21
Show Gist options
  • Save batisteo/346622aa7b9510e188f9a926bb16adf8 to your computer and use it in GitHub Desktop.
Save batisteo/346622aa7b9510e188f9a926bb16adf8 to your computer and use it in GitHub Desktop.
Improve contrast on B&W scans
mogrify -path out -sigmoidal-contrast 14,55% -gamma 0.7 -gravity Center -crop 1500x2400+0+0 FILES*.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment