Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: Resample Lowered Image Quality [1405]

$
0
0
I was working in Magick.NET trying to convert a 1000x1000px 300dpi image to a 72dpi image of the same dimensions. When converting directly from 300dpi to 72dpi using the Resample method, the image ends up with very poor quality. However, if I convert from 300dpi to 150dpi and then to 72dpi, the image ends up looking much better. Is there something I am missing or an upcoming fix for this issue?
Thank you,
Fabian
Comments: When you resample the image you will resize it accordingly to the DPI. I have the feeling that you just want to change the DPI of the image instead. The code below will do that: ```C# using (MagickImage image = new MagickImage("300_dpi.jpg")) { image.Density = new Density(72); image.Write("72dpi_from_300_dpi.jpg"); } ```

Viewing all articles
Browse latest Browse all 1011

Trending Articles



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