uclouvain / openjpeg

Official repository of the OpenJPEG project
Other
984 stars 456 forks source link

Openjpeg could not encode 32bit RGB float image #1282

Open xingchenli1996 opened 4 years ago

xingchenli1996 commented 4 years ago

I am a professional video maker. A few days ago, I encoded a video clip to TIFF image sequence inside Adobe Premiere Pro CC 2019 with 32bit RGB float component. The file however, took a large number of Gigabytes from my hard disk. In order to shrink my file size but not losing any details from the original video, I chose to transcode the TIFFs to JPEG2000 lossless. To my disappointment, the openjpeg CLI software only threw me an error message: "bit depth 32 is not allowed ...." with nothing more. I am waiting for an implement of 32bit RGB support to the repository. Please do not close my bug report

rouault commented 4 years ago

Floating point data is only supported in JPEG2000 Part 10, an extension to the baseline standard, that is very rarely implemented in general, and is not implemented by libopenjp2. The Openjpeg 3D component implements at least some part of JPEG2000 Part 10, but at first sight, it doesn't look to support floating-point data

xingchenli1996 commented 4 years ago

Oh, I see what the problem really was. Thanks very much. I hope the further development of it would make a compatibility to JPEG2000 Part 10