Coalesce adds border to animated gif

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
thomasz
Posts: 2
Joined: 2013-08-08T08:02:38-07:00
Authentication code: 6789

Coalesce adds border to animated gif

Post by thomasz »

Image: http://img3.fotos-hochladen.net/uploads ... qceyar.gif

Command: convert 66901gqceyar.gif -coalesce 66901gqceyar_coalesced.gif

After "coalesce" the image has a black border on the right and the bottom side.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: Coalesce adds border to animated gif

Post by glennrp »

The image has a "page geometry" of 300x300 but the individual images are mostly 299x299, some
smaller. So the one-pixel black border on the right and bottom is the correct behavior. In terms
of the GIF specification, the "logical screen size" is 300x300 and the "image sizes" are 299x299
or smaller.
thomasz
Posts: 2
Joined: 2013-08-08T08:02:38-07:00
Authentication code: 6789

Re: Coalesce adds border to animated gif

Post by thomasz »

This still looks like a bug to me. According to the documentation "coalesce" overlays each image in an image sequence to reproduce the look of an animation at each point in the animation sequence. Therefore there shouldn't be any visible differences between the original and the coalesced version.
Post Reply