We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image is not generated properly

generating a very large image 54k x 9k size, setting the background of the image to be white, but only 60% of the image is background color white, the other part is transparent, here’s the sample code:

License oLic = new License();
oLic.SetLicense(“Aspose.Total.lic”);

    Bitmap oImage = new Bitmap(54897, 9500, System.Drawing.Imaging.PixelFormat.Gdi);
    Graphics g = Graphics.FromImage(oImage);
    g.SmoothingMode = SmoothingMode.HighQuality;
    g.Clear(Color.White);


    oImage.Save(@"c:\temp\dw.png");

image.png (2.2 KB)

@dileepawijay,

Thanks for the details and sample image.

We reproduced the issue as you mentioned after an initial test. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DRAWINGNET-1267

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.