You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs for the WebPEncoder type only has a new_lossless method. Is it possible to make an instance of the webp encoder that can take a compression value similarly to how JpegEncoder::new_with_quality does it? the webp crate can do it but that crate is outdated and no longer works with the DynamicImage type from image 0.25.
The text was updated successfully, but these errors were encountered:
What specifically are you trying to achieve? If you only want to make sure that your webp file will be compressed, then the new_lossless method will be fine because that applies lossless compression.
If you're hoping to use lossy compression, however, that is currently not supported. You can read more here: #1984
The docs for the
WebPEncoder
type only has anew_lossless
method. Is it possible to make an instance of the webp encoder that can take a compression value similarly to howJpegEncoder::new_with_quality
does it? thewebp
crate can do it but that crate is outdated and no longer works with theDynamicImage
type fromimage 0.25
.The text was updated successfully, but these errors were encountered: