Copied to clipboard

Flag this post as spam?

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


  • Vasco Horta e Costa 18 posts 119 karma points
    May 30, 2023 @ 09:49
    Vasco Horta e Costa
    0

    Webp images exported from Photoshop throws and errror while uploading

    Hi Guys,

    All our .webp images when exported from Photoshop are throwing an error and consequently not updating image dimensions and size.

    Did any of you have this issue?

    SixLabors.ImageSharp.ImageFormatException: Unexpected chunk followed VP8X header at SixLabors.ImageSharp.Formats.Webp.WebpThrowHelper.ThrowImageFormatException(String errorMessage) at SixLabors.ImageSharp.Formats.Webp.WebpDecoderCore.ReadVp8XHeader() at SixLabors.ImageSharp.Formats.Webp.WebpDecoderCore.ReadVp8Info() at SixLabors.ImageSharp.Formats.Webp.WebpDecoderCore.Identify(BufferedReadStream stream, CancellationToken cancellationToken) at SixLabors.ImageSharp.Formats.ImageDecoderUtilities.Identify(IImageDecoderInternals decoder, Configuration configuration, Stream stream, CancellationToken cancellationToken) at SixLabors.ImageSharp.Formats.Webp.WebpDecoder.Identify(Configuration configuration, Stream stream, CancellationToken cancellationToken) at SixLabors.ImageSharp.Image.InternalIdentity(Stream stream, Configuration config, CancellationToken cancellationToken) at SixLabors.ImageSharp.Image.<>cDisplayClass108_0.0(Stream s) at SixLabors.ImageSharp.Image.WithSeekableStream[T](Configuration configuration, Stream stream, Func`2 action) at SixLabors.ImageSharp.Image.Identify(Configuration configuration, Stream stream, IImageFormat& format) at SixLabors.ImageSharp.Image.Identify(Configuration configuration, Stream stream) at Umbraco.Cms.Infrastructure.Media.ImageSharpDimensionExtractor.GetDimensions(Stream stream) at Umbraco.Cms.Core.Media.UploadAutoFillProperties.SetProperties(IContentBase content, ImagingAutoFillUploadField autoFillConfig, String filepath, Stream filestream, String culture, String segment) at Umbraco.Cms.Core.Media.UploadAutoFillProperties.Populate(IContentBase content, ImagingAutoFillUploadField autoFillConfig, String filepath, String culture, String segment)

  • Nidhi 34 posts 156 karma points
    Sep 26, 2023 @ 19:37
    Nidhi
    0

    Hey

    Did you find a solution to this problem. ? I think we too are experiencing the same problem.

    Thanks

  • Vasco Horta e Costa 18 posts 119 karma points
    Oct 18, 2023 @ 16:16
    Vasco Horta e Costa
    0

    Nop, no solution yet

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Oct 20, 2023 @ 07:34
    Huw Reddick
    0

    are these animated images?

  • Vasco Horta e Costa 18 posts 119 karma points
    Oct 20, 2023 @ 08:11
    Vasco Horta e Costa
    0

    Hi There,

    No, I have an example here:

    https://github.com/umbraco/Umbraco-CMS/issues/15007

  • Nidhi 34 posts 156 karma points
    Oct 20, 2023 @ 08:17
    Nidhi
    100

    Hi

    We upgraded Umbraco to the latest 12.2 and webp format just worked. So may be upgrading umbraco can solve the issue.

    Thanks

  • Vasco Horta e Costa 18 posts 119 karma points
    Oct 20, 2023 @ 08:29
    Vasco Horta e Costa
    0

    Unfortunately, I can only run LTS versions, in V12 Umbraco updated SixLabors.ImageSharp package.

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Oct 20, 2023 @ 08:32
    Huw Reddick
    0

    yes, it works in v12, you could try manually updating the SixLabors package to see if that works for you

  • Vasco Horta e Costa 18 posts 119 karma points
    Oct 20, 2023 @ 08:44
    Vasco Horta e Costa
    0

    Gives me this error, seems it has aditional dependencies.

    System.TypeLoadException: Could not load type 'SixLabors.ImageSharp.IImageInfo' from assembly 'SixLabors.ImageSharp, Version=3.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13'.
       at Umbraco.Cms.Infrastructure.Media.ImageSharpDimensionExtractor.GetDimensions(Stream stream)
       at Umbraco.Cms.Core.Media.UploadAutoFillProperties.SetProperties(IContentBase content, ImagingAutoFillUploadField autoFillConfig, String filepath, Stream filestream, String culture, String segment)
       at Umbraco.Cms.Core.Media.UploadAutoFillProperties.Populate(IContentBase content, ImagingAutoFillUploadField autoFillConfig, String filepath, String culture, String segment)
    
Please Sign in or register to post replies

Write your reply to:

Draft