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

Free Support Forum - aspose.com

BMP to PDF issue

Hi again.

We faced with another issue connected to Aspose.PDF. Some BMP files converted to PDF upside-down and right to left.

Conversion code is rather simple:

var pdf1 = new Aspose.Pdf.Generator.Pdf();
var sec1 = pdf1.Sections.Add();
InsertImage(sec1, inputFilePath, “.bmp”);
pdf1.Save(outputFilePath);

Do you have any ideas why this happening?
Thanks.

PS. I’ve attache example bmp file and result pdf.

Hi Mikhail,


Thanks for your inquiry. I have tested the scenario using DOM approach for image to PDF conversion with Aspose.Pdf for .NET 9.8.0 and unable to replicate the issue. Please try new DOM approach it will resolve the issue.

Please feel free to contact us for any further assistance.

Best Regards,