Page 1 of 1

How to crop and mask a image at a specific reagion

Posted: 2016-04-25T02:21:46-07:00
by Krishna
Hi Folks,

I have to compare two images, but the issue i'm seeing is the image has Date section which keeps on changing. I need to ignore that specific region and then compare to see the results.

Can someone please help me on this ??

Re: How to crop and mask a image at a specific reagion

Posted: 2016-04-25T07:53:14-07:00
by snibgo
If you know where the region is, you can paint over it, making it a constant colour in all the images. For example:

Code: Select all

convert in.png -fill Red -draw "X0,Y0 X1,Y1" out.png
... where X0,Y0 X1,Y1 are opposite corners of the region.