Skip to content

Add JPEG 2000 support to heif-enc#1817

Open
torusrxxx wants to merge 1 commit into
strukturag:masterfrom
torusrxxx:jpeg2000_example
Open

Add JPEG 2000 support to heif-enc#1817
torusrxxx wants to merge 1 commit into
strukturag:masterfrom
torusrxxx:jpeg2000_example

Conversation

@torusrxxx

Copy link
Copy Markdown
Contributor

heif-enc can now convert from JPEG 2000 files.

@farindk

farindk commented May 22, 2026

Copy link
Copy Markdown
Contributor

The question is, where do we stop :-)

For J2K it would also make sense to just copy over the bitstream (#1814).

@torusrxxx

Copy link
Copy Markdown
Contributor Author

I consider those already imported by libheif, like JPEG 2000, and libwebp (libsharpyuv is from libwebp, may be add an option to find libsharpyuv from libwebp). Next, I am also interested in those with comparable quality to HEIF, like JPEG XL and OpenEXR, so an image quality and feature support comparison can be easily done. Not interested in adding support for obscure formats that just supports legacy SDR and not already imported by libheif.

It would be good to have a muxer API to copy the raw bitstream, but currently there is none. Maybe this example would demonstrate that API when it is supported.

@torusrxxx

Copy link
Copy Markdown
Contributor Author

Is #750 declined? It seems that was able to copy the bitstream.

@farindk

farindk commented May 25, 2026

Copy link
Copy Markdown
Contributor

Is #750 declined? It seems that was able to copy the bitstream.

No, not declined. But adding such a thing is a deep architectural decision that has to be reviewed and designed thoroughly. The need wasn't urgent enough to justify the time needed.

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