MagickMissingDelegateErrorException: no decode delegate for this image format
Posted: 2018-12-19T09:52:02-07:00
Hello,
I am working with Magick.NET-Q16-AnyCPU Version 7.9.0.2.
I have a MVC application in C#. Download a TIF file via byte array.
Use this memory stream gives the following error:
---> ImageMagick.MagickMissingDelegateErrorException: no decode delegate for this image format `' @ error/blob.c/CustomStreamToImage/769
ImageMagick.MagickImageCollection.NativeMagickImageCollection.ReadStream(MagickSettings settings, ReadWriteStreamDelegate reader, SeekStreamDelegate seeker, TellStreamDelegate teller)
Saving the TIF as file on the disc and load this file is working.
Two things I have tried, but without success:
1. content.Seek(0, SeekOrigin.Begin);
2. var readSettings = new MagickReadSettings() { Format = MagickFormat.Tif };
var image = new MagickImage(Stream, readSettings);
Any ideas? Thank you in advance.
Harald
I am working with Magick.NET-Q16-AnyCPU Version 7.9.0.2.
I have a MVC application in C#. Download a TIF file via byte array.
Use this memory stream gives the following error:
---> ImageMagick.MagickMissingDelegateErrorException: no decode delegate for this image format `' @ error/blob.c/CustomStreamToImage/769
ImageMagick.MagickImageCollection.NativeMagickImageCollection.ReadStream(MagickSettings settings, ReadWriteStreamDelegate reader, SeekStreamDelegate seeker, TellStreamDelegate teller)
Saving the TIF as file on the disc and load this file is working.
Two things I have tried, but without success:
1. content.Seek(0, SeekOrigin.Begin);
2. var readSettings = new MagickReadSettings() { Format = MagickFormat.Tif };
var image = new MagickImage(Stream, readSettings);
Any ideas? Thank you in advance.
Harald