Page 2 of 2

Re: trim +repage animated gif issue

Posted: 2017-01-29T11:25:16-07:00
by coloring
@snibgo as expained in 1st post I want to trim the image to remove the "boring bits" and make it as small as possible
I don't want to have useless empty borders

Re: trim +repage animated gif issue

Posted: 2017-01-29T12:05:59-07:00
by snibgo
Frame 118 (counting from 1) has noise at the top left. So this make that area not boring. It doesn't have a useless empty border.

Re: trim +repage animated gif issue

Posted: 2017-01-29T12:59:26-07:00
by coloring
I could only find 117 frames
I checked the last one and it had no such noise

Could you please elaborate on your results?

Re: trim +repage animated gif issue

Posted: 2017-01-29T13:22:44-07:00
by snibgo
coloring wrote:here's an example
https://www.sendspace.com/file/dj05ql

the source is 304x411 and the result is 374x415
That file is example.zip, which contains input.gif, which contains 127 frames.

Re: trim +repage animated gif issue

Posted: 2017-01-29T13:32:57-07:00
by coloring
Oh my bad you're completely right, one of the frame has a couple of garbage pixels :[

Oh well not an issue in imagemagick at all then, good job spotting this, this is most impressive

case closed I guess, thanks for the help, ansd sorry for having overlooked these evil pixels :shock: