Skip to content

Inconsistently broken Decoder creation for several formats #41

@amyspark

Description

@amyspark

Hi,

Related to image-rs/image#2892, the supplied implementation of Read+Seek there (which constrains the file position to positive values of i64, and cannot read more than 2GB at a time) causes the Decoders for the following formats to fail with strange errors:

  • OpenRaster: 0:00:00.612330300 2564 7632 WARN ImageRsTypeFind video\image\src\typefind\openraster.rs:35:gstimagers::typefind::openraster::type_find::{{closure}}: File is not OpenRaster: Format error decoding OpenRaster: i/o error

I was not able to determine why or how at first glance, but when I copy the file wholesale into memory, OpenRaster devolves into #40 suggesting that there's an underlying problem with the ZIP container reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions