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
Hi, I want to convert JPEG to WEBP. But the size of WEBP file is more heavy than the JPEG. I found out this discussion talk that we should use lossy mode and we can use jpeg_like option to choose automatically the quality setting for best result. This option is in cwebp. Does Sharp lib support jpeg_like option for lossy conversion? The webp discussion
The text was updated successfully, but these errors were encountered:
You might be able to approximate it by increasing the "quality" setting, perhaps by around 10-15 at a guess. The logic to convert from a given "quality" to WebP's base encoding coefficient is here (QualityToJPEGCompression is used for jpeg_like):
Hi, I want to convert JPEG to WEBP. But the size of WEBP file is more heavy than the JPEG. I found out this discussion talk that we should use lossy mode and we can use jpeg_like option to choose automatically the quality setting for best result. This option is in cwebp. Does Sharp lib support jpeg_like option for lossy conversion?
The webp discussion
The text was updated successfully, but these errors were encountered: