Skip to content

Add JPEG XL converter example - #4635

Closed
Ram-Pavith wants to merge 1 commit into
lovell:mainfrom
Ram-Pavith:add-jpegxl-converter
Closed

Ram-Pavith wants to merge 1 commit into
lovell:mainfrom
Ram-Pavith:add-jpegxl-converter

Conversation

@Ram-Pavith

Copy link
Copy Markdown

Adds a JPEG XL converter example (examples/convert-to-jxl.mjs).

Uses sharp's jxl() when its libvips was built with libjxl (probed via sharp.format), otherwise falls back to cjxl (only backend with bit-exact lossless JPEG transcoding), ffmpeg/libjxl, then ImageMagick, checking the output JPEG XL signature.

Verified with node --check.

@lovell

lovell commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR but this isn't something that fits here, plus I suspect this is LLM-generated as you've sprayed similar PRs across multiple repos today.

@lovell lovell closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants