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

New Post: Difference between opening through a path vs a stream

$
0
0
Hello,

I'm noticing some difference between using the MagickImage constructor with a path to the file vs a stream to the file. It seems like when I'm opening it with a stream, it's returning me the thumbnail version of the image, while opening with a fully qualified path returns me the full image. Is that expected?

Here's my code
byte[] fileBytes = File.ReadAllBytes(fileName);
MagickImageCollection collection;
using (var ms = new MemoryStream(fileBytes))
{
    collection = new MagickImage(ms);
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>