This project has moved and is read-only. For the latest updates, please go here.

strech image to fill the transparent background using

Mar 17 at 4:16 AM
I have an image(attached).


I want the image to be streched out to cover the yellow area.

I am using c#,

What will be the best approach?
Mar 17 at 6:35 AM
I hope I am understanding you correctly but it looks like you want to extent the image with a transparent background. You can use the Extent method of MagickImage for this.
Mar 19 at 11:25 PM
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.
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);
Mar 21 at 2:07 AM
Can you show me a before and after picture so I can understand what you want to do?