• Adrià Arrufat's avatar
    Add webp support (#2565) · a76f205b
    Adrià Arrufat authored
    
    
    * 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: default avatarMartin T. H. Sandsmark <martin.sandsmark@kde.org>
    Co-authored-by: default avatarDavis E. King <davis685@gmail.com>
    a76f205b
term_index.xml 169 KB