Skip to content

Indexed gifs broken since 3.0.1 #1499

@DRoppelt

Description

@DRoppelt

Describe the bug

Since 3.0.1, indexed gifs appear to be broken. This is probably related to #1479 (which intended to fix #1289)

To Reproduce

See attached project

openpdf-indexed-gif-broken.zip

toggle between 3.0.0 and 3.0.1 in pom.xml, the files

  • out.gif.base64.pdf
  • out.gif.indexed.pdf

have broken images when rendering with 3.0.1

where the png based files remain intact

when using 3.0.1, gifs (loaded from disk or inlined as base64 string)

Image

out.gif.base64.pdf
out.gif.indexed.pdf

Expected behavior

expected (when using 3.0.0)

Image

out.gif.base64.pdf
out.gif.indexed.pdf

Screenshots

If applicable, add screenshots to help explain your problem.

System

(please complete the following information)

  • OpenPDF version: 3.0.1

Your real name

Dennis

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions