We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conversion to TIFF: specific format

Hello

I would like to know whether Aspose (Words, Slides and Cells) allow to specify detailed TIFF format information when converting MS Office documents to TIFF. The details are:

resolution 204x196 pixels/inch
Bits/Sample 1
Compression Scheme CCITT Group 3
Photometric interpretation min-is-white
FillOrder msb-to-lsb
Orientation row 0 top, col 0 lhs
Samples/Pixel 1
Rows/Strip 2290

Ability to set those parameters to desired values is essential for me and I just wanted to know if I need external libraries (converting a document to bitmap using Aspose and then bitmap to TIFF with an external too).

Thanks, Kamil

Hi

Thanks for your request. Using Aspose.Words you can specify compression, resolution and other options of the TIFF file generated:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.saving.imagesaveoptions.html

Please see the code below:

// Open document.

Document doc = new Document("in.doc");

// Create iamge save options and set recolution and compression of TIFF.

ImageSaveOptions opt = new ImageSaveOptions(SaveFormat.Tiff);

opt.Resolution = 72;

opt.TiffCompression = TiffCompression.Ccitt3;

// Save to tiff.

doc.Save("out.tiff", opt);

Hope this helps.

Best regards,

Hi,

I am from Aspose.Cells team, see the document for your reference (on how to convert Excel worksheets to TIFF with your desired compression or other attributes):
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/converting-worksheet-to-image-using-imageorprint-options.html


Thank you.