Problem/Motivation

I don't know what's wrong with my installation but regardless of what number I put in the "image quality" setting at /admin/config/media/webp/settings the image and the filesize is always identical.

I'm not seeing an existing issue here for this so I'm wondering if it's just me, but truly I can't see anything particular in my installation which would cause this, especially without any kind of error message.

Steps to reproduce

  1. Have ImageMagick installed and working, set up an image style with a crop and a resize followed by the WebP conversion
  2. Go to /admin/config/media/webp/settings and set the image quality to 100
  3. Go to /admin/config/media/image-toolkit and set the image quality to 100
  4. Flush the image styles
  5. Download a processed image
  6. Go to /admin/config/media/image-toolkit and set the image quality to 50
  7. Flush the image styles
  8. Download the same image processed again
  9. Go to /admin/config/media/image-toolkit and set the image quality to 10
  10. Flush the image styles
  11. Download the same image processed again
  12. Note that the filesize and visible quality changed when the image-toolkit quality was changed (a separate issue), but also that the filesize and visible quality did not change when the WebP config was changed...

Proposed resolution

I don't know the cause so I am not sure.

Remaining tasks

- Find out if anyone can reproduce the issue.
- Figure out the cause.
- Propose Fix.
- Review fix.
- Merge.

CommentFileSizeAuthor
#5 original-image.png2.67 KBmukhtarm

Issue fork webp-3421609

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jacobupal created an issue. See original summary.

jacobupal’s picture

Issue summary: View changes
jacobupal’s picture

Issue summary: View changes
aliyakhan’s picture

I'm currently facing issue with webp format, Images are appearing blurry. Upon changing the settings mentioned above as well the quality does not improve or effect the image in any way. Trying to figure out the cause.

mukhtarm’s picture

StatusFileSize
new2.67 KB

Same issue here. I am posting two images. One is the original image uploaded and the other is WebP converted.
I set the Image quality in the webP configuration as 100.

As I can not upload the webP image here, I am posting the webP image uploaded in a image hoster(https://i.postimg.cc/sgWsrrFp/webp-converted.webp)

kubrick made their first commit to this issue’s fork.

kubrick’s picture

Status: Active » Needs review

jacobupal’s picture

Issue summary: View changes