Skip to content

Add support for JPEG XL images #1725

Description

@Kagamiin

Describe the problem

Support for the JPEG XL image format (image/jxl MIME type) has recently been added to Chromium and Firefox and can be enabled via an in-browser config flag. However, when sending JPEG XL images through Sable, they're not recognized as images but as generic files:

Screenshot showing the result of trying to send a .jxl image through Sable

Describe the solution you'd like

Sending a JPEG XL (.jxl) image should send it as an inline image, like with other image formats.

Alternatives considered

N/A

Additional context

As a workaround, renaming .jxl images to .jpg (or any other image file extension supported by Sable) currently allows them to be sent inline as normal images, but this is far from ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions