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

New Post: Reading into MemoryStream c#

$
0
0
I need to convert an image into different format and without saving that file, I need to download that file using Memorystream.


I got this code but not sure how to download it after writing into memory stream
Could you please help with the code?
                   var lowResolution = new MagickImage(image) { Quality = 100, Format = "png",      BackgroundColor = new MagickColor("#FFF") };
                    using (MemoryStream memStream = new MemoryStream())
                    {
                        lowResolution.Write(memStream);
                    }

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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