openjpeg icon indicating copy to clipboard operation
openjpeg copied to clipboard

Support for JPEG (v1.0.2 - fmt/44) to JP2 conversion?

Open cannedit opened this issue 4 years ago • 1 comments

Hi all,

Why doesn't OpenJPEG support JPEG versions, like for example v1.0.2 - fmt/44, to JP2 conversion?

Its says over here: https://github.com/uclouvain/openjpeg/wiki/DocJ2KCodec#usage it only supports these formats as input: BMP, PGM, PGX, PNG, PNM, PPM, RAW, RAWL, TGA and TIF.

Best wishes, Wim

cannedit avatar Jan 12 '21 16:01 cannedit

Because tiff is almost jpeg? See https://github.com/uclouvain/openjpeg/commit/4f4aa1d49fc261185085a86c80e8b06e46a7d5db

ValZapod avatar Jan 18 '21 06:01 ValZapod

I started an experimental implementation, but it is still not useable and needs more efforts until opj_compress -i image.jpg -o image.jp2 works. Any help is welcome.

stweil avatar Feb 29 '24 20:02 stweil