Page 1 of 1

Getting "System.NotSupportedException: mluc" since 7.14

Posted: 2019-06-20T02:02:04-07:00
by usemagi

Code: Select all

var fi = new FileInfo(@"C:\Users\....jpg");
var img = new MagickImage(fi);
var a = img.GetColorProfile();
On this image: ... sp=sharing

More stacktrace:

Code: Select all

   at ImageMagick.ColorProfileReader.ReadTagValue(UInt32 length)
   at ImageMagick.ColorProfileReader.ReadTag()
   at ImageMagick.ColorProfileReader.ReadTagTable()
   at ImageMagick.ColorProfileReader.Read(Byte[] data)
   at ImageMagick.ColorProfile.Initialize()
   at ImageMagick.MagickImage.GetColorProfile(String name)
   at ImageMagick.MagickImage.GetColorProfile()

Re: Getting "System.NotSupportedException: mluc" since 7.14

Posted: 2019-06-20T13:35:41-07:00
by dlemstra
Thanks for reporting this. The latest release includes some extra code that parses metadata from the color profile. But I should not throw an exception in that spot. A new release will be published very soon to resolve this issue.