Page 1 of 1

trim option not working

Posted: 2009-08-04T03:46:48-07:00
by Selva
I have used image magic for epstogif convertion. The comments is below
1. convert eps filename gif filename.
2 mogrify -trim giffilename modgiffilename.

The Second option -trim is not working properly in few systems(WindowsXP). Please advise me.

Re: trim option not working

Posted: 2009-08-06T20:24:56-07:00
by anthony
More than likely the colors along the edges are not all EXACTLY the same color!

Try added -fuzz 5% and see if that makes a difference!

Trimming with fuzzy color selection -- Low Quality JPEG Images
http://www.imagemagick.org/Usage/crop/#trim_fuzz

Also see Trimming 'Noisy' Images
http://www.imagemagick.org/Usage/crop/#trim_blur