Skip to content

corrupt auto-oriented jxl image #8286

@uhthomas

Description

@uhthomas

ImageMagick version

7.1.2-0

Operating system

Linux

Operating system, version and so on

Arch Linux, latest

Description

I have a jxl image which decodes perfectly fine with jxlinfo, but becomes corrupt after magick mogrify -auto-orient.

Steps to Reproduce

Run magick mogrify -auto-orient _DSC4235.jxl.

❯ jxlinfo ./DCIM/101MSDCF/_DSC4235.jxl
JPEG XL file format container (ISO/IEC 18181-2)
JPEG XL image, 9568x6376, lossy, 16-bit RGB
Color space: RGB, D65, sRGB primaries, sRGB transfer function, rendering intent: Relative
Uncompressed Exif metadata: 53686 bytes
Uncompressed xml  metadata: 4563 bytes
Unexpected EOF

Note Unexpected EOF.

Images

See attached the original image and the corrupt one. The corrupt image is still decode-able by some stuff like feh, but jxlinfo doesn't like it much.

out.zip

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