Possible bug trimming animation in IM 6.9.8.10 Q16

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Possible bug trimming animation in IM 6.9.8.10 Q16

Post by fmw42 »

I am getting inconsistent results running the following in IM 6.9.8.10 Q16 non-hdri. Sometimes the first one works and the second one does not. Other times it is the other way around. Other times both fail or both work. Note for IM 6, the -coalesce seems to be needed. Whereas in IM 7 it needs to be removed. See the recent IM 7 bug report.

Input:
Image

Code: Select all

bgcolor=`convert oHBWq.gif[0] -format "%[pixel:u.p{0,0}]" info:`
convert -dispose previous -delay 10 -background "$bgcolor" oHBWq.gif -trim -layers TrimBounds -coalesce -layers optimize -loop 0 output6a2.gif
Image

Code: Select all

convert -dispose previous -delay 10 -background "$bgcolor" oHBWq.gif -trim -layers TrimBounds -coalesce -layers optimize -loop 0 output6a3.gif
Image
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Possible bug trimming animation in IM 6.9.8.10 Q16

Post by magick »

Unfortunately, we cannot reproduce the problem under CentOS 7. We ran your command ten times and got consistent and expected results. We'll try under Mac OS X later this week.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Possible bug trimming animation in IM 6.9.8.10 Q16

Post by fmw42 »

I would be interested to hear if anyone else can duplication this erratic behavior and make it fail.
Post Reply