• Resolved Shadician

    (@shadician)


    Hi,

    We’re uploading images with EWWW enabled and unfortunately, many of them are coming out blurry. I’m not sure what we’re doing wrong, or if there’s a way to turn down the level of image optimisation?

    For example, here is a google drive folder where I have shared the image before and after uploading: https://drive.google.com/drive/folders/1HrIQ8dHrRnhVfztB6OgA4MF3MuNyBV5L?usp=sharing

    Google Drive’s preview doesn’t show the difference well, so you will need to download them to see what I mean. But there’s a big difference.

    What are we doing wrong?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    WebP does not handle sharp edges well, so either don’t use WebP, or at least skip it for similar images.

    Thread Starter Shadician

    (@shadician)

    Ah, thank you. That’s quite a big limitation of WebP, good to know!

    How do we avoid using WebP for single images?

    Thread Starter Shadician

    (@shadician)

    I wonder if there is there any way we can take advantage of the sharp YUV in libwebp, or is it in use with EWWW already? It seems to help with sharpness for WebP images, as per https://www.ctrl.blog/entry/webp-sharp-yuv.html

    Otherwise, if you could help us with regards to how to exclude individual images we upload from using WebP compression that would be much appreciated. Most images run really well so it would be a shame to disable it for all of them.

    Many thanks for your help

    Plugin Author nosilver4u

    (@nosilver4u)

    We don’t currently use the sharp YUV flag, but it’s something we’ve been looking at lately with someone else who is trying to maximize the WebP quality.
    I’ll let you know when I have something to test on that, though it will be well into June before I can look at it further.

    For now, the only method we have for skipping images is via a filter:
    if ( apply_filters( 'ewww_image_optimizer_bypass_webp', false, $file ) ) {...
    –returning true will skip WebP generation.

    Plugin Author nosilver4u

    (@nosilver4u)

    This will be coming in version 6.2, and you can get it early via GitHub: https://docs.ewww.io/article/73-update-from-github
    You’ll need to define EIO_WEBP_SHARP_YUV as true in your wp-config.php to enable it.

    Thread Starter Shadician

    (@shadician)

    Brilliant to hear! I see it’s now live and came across more info here. I’ll definitely give it a try.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Images going blurry’ is closed to new replies.