This has now been released as part of ImageSharp v2 but upgradingto this version doesn't work for me. I get the following errors when requesting an image with a resize, format, crop et al querystring:
MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<SixLabors.ImageSharp.Formats.IImageFormat>
SixLabors.ImageSharp.Image.DetectFormatAsync(SixLabors.ImageSharp.Configuration, System.IO.Stream)'.
I'm assuming that this is because ImageSharp.Web is trying to dynamically call DetectFormatAsync() from ImageSharp and it cannot find it but it is present.
How to add WebP support to Umbraco 9
Hello, I can't preview my images when I load images in webp format. In 8th version, I used this article
This is most likely because ImageSharp (ImageProcessor for .Net Core & Umbraco 9) doesn't support WebP yet.
They are currently hard at work on implementing it and will be included in their next release. You can see the progress for the next release here: https://github.com/SixLabors/ImageSharp/milestone/8
This has now been released as part of ImageSharp v2 but upgradingto this version doesn't work for me. I get the following errors when requesting an image with a resize, format, crop et al querystring:
MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<SixLabors.ImageSharp.Formats.IImageFormat> SixLabors.ImageSharp.Image.DetectFormatAsync(SixLabors.ImageSharp.Configuration, System.IO.Stream)'.
I'm assuming that this is because ImageSharp.Web is trying to dynamically call
DetectFormatAsync()
from ImageSharp and it cannot find it but it is present.Anybody any ideas?
i've got the same issue, please share solution if you get one!
You cant just straight upgrade to ImageSharp v2. The are breaking changes in the api.
You need to wait until the core has been update to support v2. Currently a community PR is in the making.
https://github.com/umbraco/Umbraco-CMS/pull/11991
is working on a reply...