Crop based on clolor
Crop based on clolor
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 ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Crop based on clolor
I do not see an automatic way, since your image is very grainy, compressed and the colors are too close to your "black" which is not really black.
Closest I have come to isolate the "black" letters is:
Closest I have come to isolate the "black" letters is:
Code: Select all
convert majick.jpg -morphology smooth octagon:1 -fuzz 5% -fill white +opaque "rgb(65,65,65)" -trim +repage result.png