Skip to content

crash with jxl format in version 4.1.0 #282

@AlessioCaramori

Description

@AlessioCaramori

if I try to extract the palette from a jxl image i get this error:

Format error decoding `."jxl"`: Format error decoding `."jxl"`: failed to allocate 67108892 byte(s)
The application panicked (crashed).
Message:  failed to decode image: Decoding(DecodingError { format: PathExtension("jxl"), underlying: Some(Decoding(DecodingError { format: PathExtension("jxl"), underlying: Some(Buffer(OutOfMemory { bytes: 67108892 })) })) })
Location: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/material-colors-0.4.2/src/image.rs:66

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions