Skip to content

Instantly share code, notes, and snippets.

@sergio-fry
Created April 2, 2014 09:35
Show Gist options
  • Save sergio-fry/9930963 to your computer and use it in GitHub Desktop.
Save sergio-fry/9930963 to your computer and use it in GitHub Desktop.
Conver raster to vector
convert in.png -filter Jinc -resize 400% -threshold 30% \( +clone -negate -morphology Distance Euclidean -level 50%,-50% \) -morphology Distance Euclidean -compose Plus -composite -level 45%,55% -resize 25% out.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment