Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: 3fr no decode delegate

$
0
0
Hello,

I'm encountering this problem where I'm giving the MagickImage constructor a byte stream + a setting, telling it the format is to be ThreeFR. However, the constructor throws an exception with "no decode delegate for this image format `THREEFR' @ error/blob.c/BlobToImage/355"

If I give the constructor the full image path, it decodes it just fine.

    settings = new MagickReadSettings()
    {
        Format = MagickFormat.ThreeFr
    };
    using (var fs = new FileStream(path, FileMode.Open, FileAccess.Read))
    {
        try
        {
            collection = new MagickImageCollection(fs, settings); // exception thrown here
        }
        catch (MagickException e)
        {
            Console.WriteLine(e.Message);
    }

Viewing all articles
Browse latest Browse all 3693

Trending Articles