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

New Post: DPI

$
0
0
The problem with your images seems to be the 8BIM profile. When you remove this profile file explorer will show the correct value.

Your second image does not show the correct DPI because the ResolutionUnits value is undefined. You can get the required result with the following code:
using (MagickImage image = new MagickImage("11267DVDLEF.eps"))
{
  image.RemoveProfile("8BIM");
  image.Density = new MagickGeometry(72, 72);
  image.ResolutionUnits = Resolution.PixelsPerInch;
  image.Write("11267DVDLEF.jpg");
}
I am currently investigating if we can change ImageMagick to update the 8BIM profile, I will keep you updated.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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