You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SixLabors.ImageSharp.ImageProcessingException: An error occurred when processing the image using EntropyCropProcessor`1. See the inner exception for more detail. ---> SixLabors.ImageSharp.ImageProcessingException: An error occurred when processing the image using CropProcessor`1. See the inner exception for more detail. ---> System.ArgumentNullException: Array cannot be null.
Parameter name: bytes
at System.Text.Encoding.GetString(Byte* bytes, Int32 byteCount)
at SixLabors.ImageSharp.EncoderExtensions.GetString(Encoding encoding, ReadOnlySpan`1 buffer)
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifReader.ConvertToString(ReadOnlySpan`1 buffer)
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifReader.ConvertValue(ExifDataType dataType, ReadOnlySpan`1 buffer, UInt32 numberOfComponents)
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifReader.TryReadValue(ExifValue& exifValue)
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifReader.AddValues(List`1 values, UInt32 index)
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifReader.ReadValues()
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifProfile.InitializeValues()
at SixLabors.ImageSharp.MetaData.Profiles.Exif.ExifProfile.GetValue(ExifTag tag)
at SixLabors.ImageSharp.Processing.Processors.Transforms.TransformHelpers.UpdateDimensionalMetData[TPixel](Image`1 image)
at SixLabors.ImageSharp.Processing.Processors.Transforms.TransformProcessorBase`1.AfterImageApply(Image`1 source, Image`1 destination, Rectangle sourceRectangle)
at SixLabors.ImageSharp.Processing.Processors.CloningImageProcessor`1.CloneAndApply(Image`1 source, Rectangle sourceRectangle)
--- End of inner exception stack trace ---
at SixLabors.ImageSharp.Processing.Processors.CloningImageProcessor`1.CloneAndApply(Image`1 source, Rectangle sourceRectangle)
at SixLabors.ImageSharp.Processing.Processors.CloningImageProcessor`1.Apply(Image`1 source, Rectangle sourceRectangle)
at SixLabors.ImageSharp.Processing.Processors.Transforms.EntropyCropProcessor`1.BeforeImageApply(Image`1 source, Rectangle sourceRectangle)
at SixLabors.ImageSharp.Processing.Processors.ImageProcessor`1.Apply(Image`1 source, Rectangle sourceRectangle)
--- End of inner exception stack trace ---
at SixLabors.ImageSharp.Processing.Processors.ImageProcessor`1.Apply(Image`1 source, Rectangle sourceRectangle)
at SixLabors.ImageSharp.Processing.DefaultInternalImageProcessorContext`1.ApplyProcessor(IImageProcessor`1 processor, Rectangle rectangle)
at SixLabors.ImageSharp.Processing.DefaultInternalImageProcessorContext`1.ApplyProcessor(IImageProcessor`1 processor)
at SixLabors.ImageSharp.Processing.EntropyCropExtensions.EntropyCrop[TPixel](IImageProcessingContext`1 source, Single threshold)
Prerequisites
DEBUG
andRELEASE
modeDescription
Exception throws when I try to apply EntropyCrop method to this image:
https://yadi.sk/d/nU_mjlfkV5UI2w
Call Stack:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: