Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kåre Mai 45 posts 283 karma points
    Feb 25, 2023 @ 22:54
    Kåre Mai
    0

    ImageSharp fails with exception on webP images

    We've begun using webP images for increased page speed and have discovered in the log that ImageSharp fails with exeptions on the webP images when trying to create thumbs:

    enter image description here

    The pictures are originally jpegs and converted with Adobe Photoshop.

  • Yakov Lebski 591 posts 2347 karma points
    Feb 26, 2023 @ 05:59
    Yakov Lebski
    0

    Are you planning to convert all images to webp?

  • Kåre Mai 45 posts 283 karma points
    Feb 27, 2023 @ 07:45
    Kåre Mai
    0

    No, webP is not suitable for all kinds of images, but it is far superior for photographs, especially high res photos where webP will produce significantly smaller files with the same quality as jpegs.

    But for pictures with sharp lines, simple colors and simple patterns, png is a better solution.

  • Kåre Mai 45 posts 283 karma points
    Feb 27, 2023 @ 09:36
    Kåre Mai
    100

    It's a know bug in SixLabors.ImageSharp and it has been fixed for the upcoming v3 release.

    Marking as resolved.

Please Sign in or register to post replies

Write your reply to:

Draft