Thanasis Giannimaras updated FOP-1342:

    Attachment: gif_scale.patch

Fix incorrect rendering of GIF image.  Use of ImageIO class to read the correct 
 dimensions of the image. Previously, it read the values taken by the Logical 
Screen descriptor (canvas width and height), which is not always correct 
because  a gif file can have more than one images. The correct width and height 
values are included in the Image Descriptor block.

> Incorrect rendering of GIF images
> ---------------------------------
>                 Key: FOP-1342
>                 URL: https://issues.apache.org/jira/browse/FOP-1342
>             Project: Fop
>          Issue Type: Bug
>          Components: images
>    Affects Versions: trunk
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Trejkaz
>         Attachments: fop-gif-scaling-bug.zip, gif_scale.patch, 
> imageio-size-fix.patch
> Attached zip file contains an example with a single GIF, which exhibits two
> problems:
>   1. the GIF is scaled in a strange fashion, and 
>   2. the black lines are lost.

This message was sent by Atlassian JIRA

Reply via email to