Skip to content

Xorg formats Decoders do not accept valid files with spurious errors #42

@amyspark

Description

@amyspark

Hi,

The following files cannot be decoded with image-extras:

The XBM file fails parsing with the following (looks like the decoder doesn't accept the canonical header, but the line/col value is fixed so cannot tell for sure):

0:00:00.613199800       9392      19012 WARN         ImageRsTypeFind video\image\src\typefind\xbm.rs:25:gstimagers::typefind::xbm::type_find::{{closure}}: File is not X Bitmap: Format error decoding `XBM`: Failed to parse #define for image width, unexpected character or eof at byte=1,line=1:col=1

The XPM file fails parsing with the well-known (#40)

0:00:00.436574500      11584      14148 ERROR             imagersdec video\image\src\decoder\imp.rs:286:gstimagers::decoder::imp::Decoder::render_single_frame::{{closure}}:<imagersdecoder0> Failed decoding single image: The image format could not be determined

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