Prerequisites
Description
When tried to call Save after AutoOrient method for processing one of JFIF image, got exception:
System.Globalization.CultureNotFoundException: Culture is not supported. Parameter name: name es-XL is an invalid culture identifier.
Stack trace:
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at ImageSharp.IccDataReader.ReadMultiLocalizedUnicodeTagDataEntry()
at ImageSharp.IccDataReader.ReadTagDataEntry(IccTagTableEntry info)
at ImageSharp.IccReader.ReadTagData(IccDataReader reader)
at ImageSharp.IccReader.ReadTagData(Byte[] data)
at ImageSharp.IccProfile.InitializeEntries()
at ImageSharp.IccWriter.Write(IccProfile profile)
at ImageSharp.Formats.JpegEncoderCore.WriteIccProfile(IccProfile iccProfile)
at ImageSharp.Formats.JpegEncoderCore.WriteProfiles[TPixel](Image`1 image)
at ImageSharp.Formats.JpegEncoderCore.Encode[TPixel](Image`1 image, Stream stream)
at ImageSharp.Formats.JpegEncoder.Encode[TPixel](Image`1 image, Stream stream)
at ImageSharp.Image`1.Save(Stream stream, IImageEncoder encoder)
at ImageSharp.Image`1.Save(Stream stream, IImageFormat format)
Steps to Reproduce
System Configuration
- ImageSharp version: 1.0.0-alpha9-00175
- Environment (Operating system, version and so on): Windows 10, Azure web app on windows platform
- .NET Framework version: NetCore 1.1
Prerequisites
DEBUGandRELEASEmodeDescription
When tried to call
SaveafterAutoOrientmethod for processing one of JFIF image, got exception:System.Globalization.CultureNotFoundException: Culture is not supported. Parameter name: name es-XL is an invalid culture identifier.
Stack trace:
Steps to Reproduce
System Configuration