* Add BGR(A) to pixel_traits
* add support for reading webp
* Apply Davis' suggestions and fix formatting
* Fix signed/unsigned warning
* Update decoding paths
* update pixel traits documentation
* Add support for writing WebP images
* Simplify image_saver code
* WIP: add tests, PSNR is low but images look good
* Add lossless compression for quality > 100
* Fix build when WebP support is disabled
* Use C++ stream instead of C-style FILE
* Fix indentation
* Use reinterpret_cast instead of C-style cast
* Improve impl::impl_save_webp signature
* Remove empty line
* Use switch statement and clean up code
* Update Copyright and test libwebp on Linux
* Fix formatting in github workflow
* Fix operator== for bgr_alpha_pixel
* Show where the test fails
* Add libwebp to CI for the remaining Linux workflows
* Use filename consistently
* Improve message with wrong pixel type
* Fix tests for WebP images
* Prevent saving images which are too large and improve error messages
* Use max dimension from WebP header directly
* Update documentation, index and release notes
* Update dlib/image_saver/save_webp_abstract.h
Co-authored-by: Martin T. H. Sandsmark <martin.sandsmark@kde.org>
Co-authored-by: Davis E. King <davis685@gmail.com>
Warnings about unused variables are quenched by simply incrementing the
variables in question. This makes the try_compile() call in CMake
succeed without warnings when checking for C++11 compatibility and using
-Wall.
When propagating the option "-Xclang -fcxx-exceptions" to targets
linking to dlib, the options with quotes are unknown to clang-cl.
Removing the quotes and splitting the arguments into two works fine.
When compiling with other compilers than MSVC, error messages about
C++11 support for versions below MSVC version 19.0.24210.0 were printed.
This happens, for example, when using clang-cl installed with the Visual
Studio Installer.
Notably, set_all_bn_running_stats_window_sizes and fuse_layers.
But also I took the chance to remove the superflous separators and
change the attribute of upsample layers from stride to scale.
* Fix Barlow Twins loss gradient
* Update reference test accuracy after fix
* Round the empirical cross-correlation matrix
Just a tiny modification that allows the values to actually reach 255 (perfect white).
* Make github actions run the python unit tests
* why don't the pyhton tests run?
* run python tests
* don't run tests twice
* don't run cmake tests twice
* rename the CMake test to C++ since it's testing the C++ part of the library
And the python build uses cmake too, which makes the naming somewhat
confusing
* work around macos
* oops, fix spelling error