openjpeg icon indicating copy to clipboard operation
openjpeg copied to clipboard

Openjpeg could not encode 32bit RGB float image

Open xingchenli1996 opened this issue 3 years ago • 2 comments

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

xingchenli1996 avatar Nov 07 '20 08:11 xingchenli1996

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

rouault avatar Nov 07 '20 10:11 rouault

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

xingchenli1996 avatar Nov 07 '20 22:11 xingchenli1996