Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
The Sixlabors.ImageSharp.Web 2.0.2 still breaking in CMS 12.13.1
Package Info:
Note: The issue is able to replicate in CMS edit mode it looks good when we run the pages in preview mode.
Error:
SixLabors.ImageSharp.UnknownImageFormatException
HResult=0x80131500
Message=Image cannot be loaded. Available decoders:
- BMP : BmpDecoder
- PNG : PngDecoder
- Webp : WebpDecoder
- TIFF : TiffDecoder
- GIF : GifDecoder
- PBM : PbmDecoder
- TGA : TgaDecoder
- JPEG : JpegDecoder
Source=SixLabors.ImageSharp
StackTrace:
at SixLabors.ImageSharp.Image.Load[TPixel](Configuration configuration, Stream stream, IImageFormat& format) in /_/src/ImageSharp/Image.FromStream.cs:line 566
at SixLabors.ImageSharp.Image.Load[TPixel](Configuration configuration, Stream stream) in /_/src/ImageSharp/Image.FromStream.cs:line 531
at SixLabors.ImageSharp.Image.Load[TPixel](Stream stream) in /_/src/ImageSharp/Image.FromStream.cs:line 392
at EPiServer.ImageLibrary.Internal.DefaultImageService.RenderImage(Stream input, Stream output, RenderRequest request)
at EPiServer.ImageLibrary.ImageServiceExtensions.RenderImage(IImageService svc, Byte[] imageBuffer, IEnumerable`1 operations, String mimeType, Single zoomFactor, Int32 jpegQuality)
at EPiServer.Cms.Shell.UI.Controllers.Internal.ThumbnailController.Generate(Byte[] blobBytes)
I believe this is a similar issue that Drew introduced initially.
https://world.optimizely.com/forum/developer-forum/Problems-and-bugs/Thread-Container/2022/4/episerver-cms-core-12-4-2-breaks-imagesharp/