density unit output
Posted: 2019-04-18T03:11:10-07:00
hi, i'm try to archive converting a bitmap to jpg cmyk ppi.
i set
but in gimp now i see
what's wrong?
thankyou
i set
Code: Select all
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);
}
Code: Select all
JPEG image
5,9 × 5,9 pixels/mm
sRGB built-in Default RGB working space
thankyou