Skip to content

Bitmap PNGs are not decoded #535

@chrisegner

Description

@chrisegner

The current implementation of FlateDecode.decode assumes the PNG is encoded with BitsPerComponent == 8. This is not valid for bitmap PNGs. In this case, each row is still prefixed with the filter byte then followed by the bits, padded out to the final byte.

Pull request coming shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFworkflow-imagesFrom a users perspective, image handling is the affected feature/workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions