People, My Earlier mail contents was not correct, probably. I do not whether intensity varies or not (have tried your commands but the images still mismatch). But, the input and the output images differ only in the text written on them. One is having a thicker font and the other is having a lighter font. Is there a way to tell Image Magick not to consider the font sizes but compare the contents alone? Is there a possibility to tell IM to replace the font size of one image with the font size of the other image so that both of them becomes same.
Have attached the two images. Please go through them and let me know the solution. Thanks a lot for your time, Vijay. --- On Fri, 5/29/09, Anthony Thyssen <[email protected]> wrote: > From: Anthony Thyssen <[email protected]> > Subject: Re: [magick-users] Is there an option to tell Image Magick not to > consider the intensity of the colors while comparing two images > To: [email protected] > Date: Friday, May 29, 2009, 5:57 AM > On Thu, 28 May 2009 13:17:12 -0700 > Fred Weinhaus <[email protected]> > wrote: > > | Replace the intensity channel in each of your two images > with one of > | the other two channels. then do your compare? > | > | see http://www.imagemagick.org/Usage/channels/#channels > | > More specifically convert the image to HSL and replace the > > luminance (or 'B') channel before comparing > > convert image1.png image2.png -colorspace > HSL \ > -channel B > -evaluate set 50% miff:- |\ > compare - > cmp_image.png > > You can also use -compose difference too which will > avoid the need > for the pipeline between the two commands, and let you do > the processing > all in a single image. > > See Difference Images > http://www.imagemagick.org/Usage/compare/#difference > > > > Anthony Thyssen ( System Programmer ) > <[email protected]> > > ----------------------------------------------------------------------------- > Here's the thing about the Future... > Every time you look at it changes, because you > looked at it... > And that changes everything else. > -- > Movie "Next" > > ----------------------------------------------------------------------------- > Anthony's Home is his Castle > http://www.cit.gu.edu.au/~anthony/ > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users >
_______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
