Trying to make white background for an tif image, but getting the jpg with same black background as tiff.
using the below code:
using (MagickImage image = new MagickImage())
using the below code:
using (MagickImage image = new MagickImage())
{
image.BackgroundColor =System.Drawing.Color.White;
image.Read(filePath);
image.Format = MagickFormat.Jpg;
image.Write(convertDir + "\\" + file + ".jpg");
}
what's going wrong here?