Skip to content

Image datastream with Flate compression results in "cannot identify image file" error #38

@bitsgalore

Description

@bitsgalore

Example:

        <image>
          <dict>
            <xref>69</xref>
            <width>450</width>
            <height>369</height>
            <bpc>8</bpc>
            <colorspace>DeviceRGB</colorspace>
            <altcolorspace></altcolorspace>
            <filter>FlateDecode</filter>
          </dict>
          <stream>
            <exceptions>
              <exception>cannot identify image file &lt;_io.BytesIO object at 0x7f9795784c70&gt;</exception>
            </exceptions>
          </stream>
        </image>

Example file:

https://www.dbnl.org/tekst/kris001leze09_01/kris001leze09_01.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions