dlib/tools/imglab/src
Adrià Arrufat 9a30c6d48f
Add JXL support (#2917)
* WIP: preparation for JPEG XL support

* jxl: add loading support

* update jxl abstract

* add support for saving jxl (lossless not working)

* everything works except setting lossless explicitly

* remove unused header

* fix wrong quality logic

* remove debugging statements

* fix lossless encoding

* improve support for grayscale images

* use JXL instead of JPEGXL everywhere

* oops do not make libjxl a requirement

* update years

* silence some warnings

* simplify loader fast path logic

* allow python to save jxl and webp

* update error message with supported formats

* Allow setting image quality in Python

The setting is ignored where it does not make sense.

* round quality in JPEG saver

* improve error message in CMake

* add jxl support to imglab

* add Davis's suggestion

Co-authored-by: Davis E. King <davis685@gmail.com>

* Apply suggestions from code review

Co-authored-by: Davis E. King <davis685@gmail.com>

* make sure grayscale is 8 bit

* update abstract: JPEG XL can store grayscale images

* add more methods to query basic info from JXL

* documentation formatting

* Apply Davis' suggestions

---------

Co-authored-by: Davis E. King <davis685@gmail.com>
2024-03-04 07:56:31 -05:00
..
cluster.cpp Add JXL support (#2917) 2024-03-04 07:56:31 -05:00
cluster.h Added the --cluster option to imglab. 2015-07-03 11:58:59 -04:00
common.cpp Add JXL support (#2917) 2024-03-04 07:56:31 -05:00
common.h Add JXL support (#2917) 2024-03-04 07:56:31 -05:00
convert_idl.cpp Simplified code a bit 2012-12-12 19:33:32 -05:00
convert_idl.h Simplified code a bit 2012-12-12 19:33:32 -05:00
convert_pascal_v1.cpp A minor change to avoid a compiler warning in visual studio 2012 2013-02-11 18:02:26 -05:00
convert_pascal_v1.h Simplified code a bit 2012-12-12 19:33:32 -05:00
convert_pascal_xml.cpp A minor change to avoid a compiler warning in visual studio 2012 2013-02-11 18:02:26 -05:00
convert_pascal_xml.h Simplified code a bit 2012-12-12 19:33:32 -05:00
flip_dataset.cpp Add JXL support (#2917) 2024-03-04 07:56:31 -05:00
flip_dataset.h Just moved code around to clean things up a little. 2018-01-13 14:36:55 -05:00
main.cpp Add JXL support (#2917) 2024-03-04 07:56:31 -05:00
metadata_editor.cpp Update widgets and draw_string on images to use convert_to_utf32 (#2769) 2023-04-13 08:48:49 -04:00
metadata_editor.h Add support for loading custom label fonts in imglab (#2733) 2023-02-23 22:34:06 -05:00