hi all,
orig png: 32bit/96dpi
target png: 8bit/128colors/72dpi
my code so far:
please help
orig png: 32bit/96dpi
target png: 8bit/128colors/72dpi
my code so far:
using ImageMagick;
...
using (MagickImage image = new MagickImage(origPATH))
{
image.Format = MagickFormat.Png;
image.SetDefine(MagickFormat.Png, "colors", "128");
image.SetDefine(MagickFormat.Png, "depth", "8");
image.SetDefine(MagickFormat.Png, "resample", "72");
image.Write(targetPATH);
}
target png is written, but same as orig (32bit/96dpi)please help