- Support most popular used images (JPEG, PNG, TIFF, BMP, GIF). Note that, animated GIF format is not supported, if the source is an animated GIF, our library only read the first frame of the image.
- Further now, support multi-page Tiff to PDF with the same count of pages.
- Support mixed input image types.
- Convert one single image to one PDF page.
- Could create a new PDF document according to the input images.
- Could append a range images to an existed PDF.
- Could customize PDF page size to standard PDF page size mode or to match source image's size.
- Don't need Adobe component or other third party tools.
- Provide .NET 2.0 to 4.5.
- Support 32-bit and 64-bit System.
How to Convert Image to PDF
In the moment of now, images are widely used in the world to emerge and transport message and information. In many cases, scattered images are not easy to keep and save. So converting and adding images to PDF document is really a very convenient way to manage them.
The pqScan .NET Image to PDF Converter is a standalone library developed in managed C# code. It allows developers to convert image to PDF in any type of .NET application.
PDF page size: while converting image to PDF, developers can decide the displaying mode of the image in PDF page.
public PageSizeMode PageSizeType;
Create PDF: when you want to convert a range of images and add them into PDF document, you will call following methods. Our SDK can read and load images from file in the disk and from the Stream(File Stream or Memory Stream). After then, it can generate a new PDF and save it in the disk or save it to stream.
public void CreatePDF(string[] imageFiles, string outFile); public void CreatePDF(Stream[] imageStreams, string outFile); public void CreatePDF(string[] imageFiles, Stream outStream); public void CreatePDF(Stream[] imageStreams, Stream outStream);
Merge to PDF: if a ready-made PDF is in the disk, and there is a demand to append some images to the end of it, the methods below is what you need.
public void AppendToPDF(string[] imageFiles, string pdfFile); public void AppendToPDF(Stream[] imageStreams, string pdfFile);