forked from AcademySoftwareFoundation/OpenImageIO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jxl: JPEG-XL improvements (AcademySoftwareFoundation#4252)
## JpegXL Output plugin * support for uint8/uint16/half/float * "compression jpegxl:##" config hint sets compression type * "jpegxl:distance" * "jpegxl:effort" * "jpegxl:photon_noise_iso" ## JpegXL Input plugin * support for uint8/uint16/half/float **Encode:** ``` oiiotools -v ^ -i DISP_16bit.tif -o DISP_16bit_tif.jxl ^ -i DISP_8bit.tif -o DISP_8bit_tif.jxl ^ -i DISP_float.exr -o DISP_float_exr.jxl ^ -i DISP_half.exr -o DISP_half_exr.jxl ``` jxlinfo.exe -v output ``` JPEG XL image, 1440x1440, (possibly) lossless, 16-bit RGB JPEG XL image, 1440x1440, (possibly) lossless, 8-bit RGB JPEG XL image, 1440x1440, (possibly) lossless, 32-bit float (8 exponent bits) RGB JPEG XL image, 1440x1440, (possibly) lossless, 16-bit float (5 exponent bits) RGB ``` **Decode** ``` oiiotool.exe -v ^ -i w:\DISP_16bit_tif.jxl -o w:\DISP_16bit_tif_jxl.tif ^ -i w:\DISP_8bit_tif.jxl -o w:\DISP_8bit_tif_jxl.tif ^ -i w:\DISP_float_exr.jxl -o w:\DISP_float_exr_jxl.exr ^ -i w:\DISP_half_exr.jxl -o w:\DISP_half_exr_jxl.exr ``` iinfo.exe output ``` DISP_16bit_tif_jxl.tif : 1440 x 1440, 3 channel, uint16 tiff DISP_8bit_tif_jxl.tif : 1440 x 1440, 3 channel, uint8 tiff DISP_float_exr_jxl.exr : 1440 x 1440, 3 channel, float openexr DISP_half_exr_jxl.exr : 1440 x 1440, 3 channel, half openexr ``` TODO: - [ ] EXIF and metadata - [ ] Color spaces support - [x] Encoding settings - [ ] Decoding settings ## OIIO Tests not yet --------- Signed-off-by: ssh4net <[email protected]> Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
- Loading branch information
Showing
4 changed files
with
277 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.