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

New Post: Possible issue writing to stream

$
0
0
Using the following file as my source(.eps):

https://www.dropbox.com/s/b4pn07h4w4mnp65/PreviewforEPS.eps

This conversion works fine going from .eps to .jpg:
   using (MagickImage image2 = new MagickImage("fileSource.eps"))
                    {
                        image2.Strip();
                        image2.Write("fileDestination.jpg");
                    }
The following does NOT. It works for some other conversions, but not .eps to .jpg
   using (MagickImage image2 = new MagickImage("fileSource.eps"))
                    {
                        image2.Strip();
                        Stream fs = new FileStream(fileDestination.jpg", FileMode.OpenOrCreate);
                        image2.Write(fs);
                    }
Thanks.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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