November Happy Hour will be moved to Thursday December 5th.

SixLabors.ImageSharp braking in EPiServer.CMS (12.13.1)

Vote:
 

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/

#290252
Oct 18, 2022 20:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.