Closed poppingmoon closed 4 months ago
Fix #37
Change WebpDecoder to check if input is lossless format and get the size. Also, add a test for lossless format.
WebpDecoder
For info about WebP lossless format, see https://developers.google.com/speed/webp/docs/riff_container#simple_file_format_lossless and https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#3_riff_header.
Thank for PR.
Fix #37
Change
WebpDecoder
to check if input is lossless format and get the size. Also, add a test for lossless format.For info about WebP lossless format, see https://developers.google.com/speed/webp/docs/riff_container#simple_file_format_lossless and https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#3_riff_header.