Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

PDF to TIFF File Size Question

$
0
0

Hello,

Converting a PDF to TIFF I am using this code :

Aspose.Pdf.Devices.TiffSettings tiffSettings = new Aspose.Pdf.Devices.TiffSettings();
tiffSettings.Compression = Aspose.Pdf.Devices.CompressionType.LZW;
tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Format8bpp;

converter.SaveAsTIFF(output_file, tiffSettings, new WinAPIIndexBitmapConverter());
For the attached sample I get 350KB file size.

Changing to Color Depth to the default:

tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Default

Will get 4 to 5 times larger file!

In this case I got 1250KB file size.

Does it make sense to you?

What is the best for me to get reasonable colors and file sizes?

Thanks

Gizi Ben-Tovim

iFOREX

 

 


Viewing all articles
Browse latest Browse all 3131

Trending Articles