TIF to PDF files size BLOATED

When converting TIF to PDF our files are to large.

TIF File Size = 153k

Print 2 PDF = 142k

Aspose to PDF = 473k

The code I use for this conversion was copy / paste from help file. I need the file to be a lot close to the Print 2 PDF size.

private bool ConvertTiftoPDF(string sImagePath)

{

//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 = sImagePath;

//Set the type of image using ImageFileType enumeration

image1.ImageInfo.ImageFileType = Aspose.Pdf.Generator.ImageFileType.Tiff;

//Set image title image1.ImageInfo.Title = "Tif image";

//Save the Pdf

pdf1.Save("c:\_Conv\temp.pdf"); return true;

}


Hi Joe,


Thanks for using our products.

Can you please share the source TIFF image so that we can test the scenario at our end. We are sorry for this inconvenience.