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

Free Support Forum - aspose.com

BMP to PDF -> Image Quality Issue

BmpAndPdfFiles.zip (60.5 KB)
Hi Team,

While converting BMP to PDF through the below code, quality of converted pdf is not good. This is not happening with third party library like activePDF. Please find the converted pdf files from both libraries.

           using (Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document())
            {
                pdfDocument.Pages.Add();
                Aspose.Pdf.Image image = new Aspose.Pdf.Image();
                image.File = inputPath;
                pdfDocument.Pages[1].Paragraphs.Add(image);

                pdfDocument.Save(outputPDF);
            }

We also tried Aspose.Imaging - for BMP to PDF conversion using below code. But its not working.
https://products.aspose.com/imaging/net/conversion/bmp-to-pdf/​​


Thanks,​
Saurabhtesting_ActivePdf.pdf (40.4 KB)
testing_Aspose.pdf (45.4 KB)

@sranjan50

We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51173. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.