The command probably will not work in mogrify. The explanation is above my result. -write mpr:img (saves a copy of the input) -fuzz 10% -fill black -opaque white (changes all white to black) -set option:cropvals "%@" (saves the trim values as cropvals without having to use -trim) +delete mpr:img ...
Hello there, I want to trim the dimensions, dimension lines which are present around the window drawing and preserve only the window image. How can do that using Image Magick ? https://i.imgur.com/UY6RfhU.jpg Version: ImageMagick 7.0.5-5 Q16 x86_64 2017-04-25 Running on macOS Sierra 10.12.5 Can ...