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

New Post: Possible bug with large file streams?

$
0
0
Thanks. And just to clarify. In the following code, using the same source file as above(https://www.dropbox.com/s/k7khbpvbrqqtryz/22307_009_%20JM_0055.jpg):
        MagickImage magickImage = new MagickImage(sourceFilePath);
        magickImage.Strip();

        magickImage.Format = MagickFormat.Png;
        if (magickImage.Format == MagickFormat.Png)
        {
            magickImage.ResolutionUnits = Resolution.PixelsPerInch;
        }

        //set DPI
        magickImage.Density = new MagickGeometry(300, 300);

        destinationStream.SetLength(0);
        magickImage.Write(destinationStream);
The final result still shows 72 DPI. Did your response mean that it will continue to show 72 DPI until the next release? or is the bug something different?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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