Free Support Forum - aspose.com

Fail to convert one JPG file to PDF

We used Aspose dlls to convert files to PDF. However, we fail to convert one JPG file to PDF. Please have a check.
Runner.jpg (287.0 KB)

Notes: here are the dlls we are using
image.png (8.4 KB)
image.png (11.7 KB)
image.png (12.4 KB)
image.png (11.6 KB)

@Glority_Developer,

Please try the code snippet as documented in this help topic: Convert an Image to PDF. It works fine with the latest version 18.4 of Aspose.PDF for .NET API. This is the output PDF: ImageToPDF_out.pdf (288.8 KB)