Crop based on clolor
Posted: 2015-06-17T10:04:09-07:00


is it possible to crop the number in the middle of the frame and get something like this :
maybe crop the black pixels surrounded by white ?

Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://download.imagemagick.org/discourse-server/
https://download.imagemagick.org/discourse-server/viewtopic.php?t=27860
Code: Select all
convert majick.jpg -morphology smooth octagon:1 -fuzz 5% -fill white +opaque "rgb(65,65,65)" -trim +repage result.png