Hi,
We are using Aspose.Words.dll (6.6.0.0) to convert *.doc files to *.tif files.
Following is our code sample:
ImageOptions imgOptions = new ImageOptions();
imgOptions.Resolution = (float) 200;
imgOptions.TiffCompression = TiffCompression.Ccitt4;
Document doc = new Document(fileName);
for (int i = 0; i <doc.PageCount; i++)
doc.SaveToImage(i, 1, @"C:\" + pageName + i.ToString() + ".tif ", imgOptions);
After successful run we get TIFs with following Image Information:
Format: Tagged Image File Format
Dimensions: 1700 pixels x 2200 pixels(17.708 in x 22.917 in )
Pixels per inch: 96.000 dpi
Our expected Image Information is:
Format: Tagged Image File Format
Dimensions: 1700 pixels x 2200 pixels(8.500 in x 11.000 in )
Pixels per inch: 200.000 dpi
Due to this issue, when we print TIFs at 100% on 8.5 x 11 paper we only get a small portion of a page printed.
We are doing similar code to convert *.xls files to *.tif files using Aspose.Cells.dll.
We are getting expected results.
Please let us know if there is something we are not setting or provide us with a fix to this issue asap.
Thank You!