The size of the image including yellow area is 1741x2005.
While applying extent what should I pass as width & height of the image so that the image extends and covers the yellow area.
Following is my code.
While applying extent what should I pass as width & height of the image so that the image extends and covers the yellow area.
Following is my code.
static void Main(string[] args)
{
var inputFile = @"c:\Test.png";
var outputFile = @"c:\outputTest.png";
using (MagickImage image = new MagickImage(inputFile))
{
image.Extent(1741, 2005);
image.Write(outputFile);
}
}