Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
using (MagickImage image = new MagickImage(bmp))
{
image.ColorAlpha(new MagickColor("#FFF")); // You only need this when your image contains transparency.
image.Settings.Density = new Density(nBmpPrm.dpi, nBmpPrm.dpi, DensityUnit.PixelsPerInch);
image.AddProfile(ColorProfile.SRGB);
image.AddProfile(ColorProfile.CoatedFOGRA39); // USWebCoatedSWOP
image.Write(fullPath);
}
you're right, i make a shortcut in description.
My original image is jpg.
in my program to elaborate it I create a bitmap .net object.
if i save it with .net framework methods i get resolution in ppi
if i save it with imagemagick i get resolution in ppcm.
is it possibile to have an output jpg signed with Resolution Unit : inches ?