Skip to content

feat: add jxl as a supported image format#3653

Open
lil5 wants to merge 1 commit into
elk-zone:mainfrom
lil5:add-jxl
Open

feat: add jxl as a supported image format#3653
lil5 wants to merge 1 commit into
elk-zone:mainfrom
lil5:add-jxl

Conversation

@lil5

@lil5 lil5 commented Jun 17, 2026

Copy link
Copy Markdown

Added the jxl attachment in the list of supported images

@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit d87e930
🔍 Latest deploy log https://app.netlify.com/projects/elk-docs/deploys/6a32608ebe78a40008d592aa

@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit d87e930
🔍 Latest deploy log https://app.netlify.com/projects/elk-zone/deploys/6a32608e440fc5000736372c
😎 Deploy Preview https://deploy-preview-3653--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@shuuji3

shuuji3 commented Jun 18, 2026

Copy link
Copy Markdown
Member

I'm in favor of Jpeg XL format itself, but it seems that the official Mastodon doesn't accept it yet (the latest main branch: https://github.com/mastodon/mastodon/blob/c4ea89dfd952e05da6edd0d47473fd4bd4834dae/app/models/media_attachment.rb#L53).

I wonder if this is for some compatible fediverse server. Have you already tested the upload? Could you share more information?

@shuuji3 shuuji3 changed the title Add jxl as a supported image format feat: add jxl as a supported image format Jun 18, 2026
@shuuji3

shuuji3 commented Jun 18, 2026

Copy link
Copy Markdown
Member

Tested with a sample jxl file but it was failed with Mastodon server as expected.

screenshot of compose with error message: Upload failed Validation failed: File content type is invalid, File is invalid

Sample file (red trafic light, opened in image editing software that supports jxl file): https://github.com/libjxl/testdata/blob/73695d303670c90e4d506ea89d9901b081385089/jxl/blending/cropped_traffic_light.jxl

red trafic light illustration

@shuuji3 shuuji3 added s: on hold Blocked by something or frozen to avoid conflicts s: awaiting more info Additional information are requested labels Jun 18, 2026
@shuuji3

shuuji3 commented Jul 2, 2026

Copy link
Copy Markdown
Member

I saw Phanpy's PR cheeaun/phanpy#1532, so I guess this is for GoToSocial support.

@shuuji3 shuuji3 added c: fediverse Related to non-Mastodon servers and removed s: on hold Blocked by something or frozen to avoid conflicts labels Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: fediverse Related to non-Mastodon servers s: awaiting more info Additional information are requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants