Getting "System.NotSupportedException: mluc" since 7.14

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
usemagi
Posts: 12
Joined: 2019-05-21T01:06:38-07:00
Authentication code: 1152

Getting "System.NotSupportedException: mluc" since 7.14

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

Code: Select all

var fi = new FileInfo(@"C:\Users\....jpg");
var img = new MagickImage(fi);
var a = img.GetColorProfile();
On this image:
https://drive.google.com/file/d/1sYTVYM ... 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()
...

User avatar
dlemstra
Posts: 1578
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

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

Post by dlemstra » 2019-06-20T13:35:41-07:00

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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Post Reply