4 ms·
Anyone know the one-liner to losslessly recompress an existing JPEG as a JPEG-XL? That was one of the most interesting features of the format to me.
by ianlevesque 3y ago
Anyone know the one-liner to losslessly recompress an existing JPEG as a JPEG-XL? That was one of the most interesting features of the format to me.
- deleted 3y ago[deleted]
- fold3 3y agoIirc, cjxl is smart enough to do it automatically. cjxl input.jpg output.jxl The cjxl --help and cjxl -v -v --help pages are very well done and you'll find the option to explicitly set the option on if you wish to do so.
- selcuka 3y agohttps://github.com/libjxl/libjxl#usage https://github.com/libjxl/libjxl#usage > Specifically for JPEG files, the default cjxl behavior is to apply lossless recompression and the default djxl behavior is to reconstruct the original JPEG file (when the extension of the output file is .jpg).