Hi,
I am currently evaluating the TIFF => PDF support for the above mentioned product. I tested the following products as competitors:
-Aspose
-FoxIt
-PDF4Net
With
the above mentioned order, processing time as the size of the resulting PDF decreased. I know that depending on the need there might be some extra levers to pull to make products faster, right now I just used the following sample adapted from your SDK:
//Instantiate a Pdf object by calling its empty constructor
Aspose.Pdf.Generator.Pdf pdf1 = new Aspose.Pdf.Generator.Pdf();
//Create a section in the Pdf object
Aspose.Pdf.Generator.Section sec1 = pdf1.Sections.Add();
//Create an image object in the section
Aspose.Pdf.Generator.Image image1 = new Aspose.Pdf.Generator.Image(sec1);
//Add image object into the Paragraphs collection of the section
sec1.Paragraphs.Add(image1);
//Set the path of image file
image1.ImageInfo.File = TiffFilePath;
//Set the type of image using ImageFileType enumeration
image1.ImageInfo.ImageFileType = Aspose.Pdf.Generator.ImageFileType.Tiff;
////Set image title
//image1.ImageInfo.Title = "JPEG image";
//Save the Pdf
pdf1.Save(PDFFilePath);
Is there any setting I can use to speed up the processing or decrease the size in my case ?
The conversion takes place from tiff to pdf.
Thanks in advance, Jens
↧