Skip to content

Instantly share code, notes, and snippets.

@ShivendraAgrawal
Created April 30, 2014 05:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ShivendraAgrawal/f60e7a7daa5bde9bff31 to your computer and use it in GitHub Desktop.
#!/bin/bash
convert "$1" \
-morphology EdgeIn Octagon \
-negate -normalize -blur 0x2 \
-channel RGB -level 50%,81%,0.1 \ -colorspace Gray \
"$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment