Converting PDF to TIFF image using .Net

Hi, I am trying to convert the PDF to TIFF image using the following code.

Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(fileName);
//create Resolution object
Aspose.Pdf.Devices.Resolution resolution = new Aspose.Pdf.Devices.Resolution(300);
//create TiffSettings object
Aspose.Pdf.Devices.TiffSettings tiffSettings = new Aspose.Pdf.Devices.TiffSettings();
tiffSettings.Compression = Aspose.Pdf.Devices.CompressionType.None;
tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Default;
//tiffSettings.Shape = Aspose.Pdf.Devices.ShapeType.Landscape;
tiffSettings.SkipBlankPages = false;

I can generate the TIFF image successfully, but the resultant file size is too big, it is around 30MB. I am looking for something in KBs. Is there a way to compress the image or get in less size?

Hi Mahesh,


Thanks for contacting support.

In order to reduce the size of resultant PDF file, please try using values from CompressionType enumeration i.e. CCITT4.

In the event of any further query, please feel free to contact.