Attachment: ShrinkTiff.zip (7.0 MB)
I am converting a large page pdf (42in x 30 in) document to tiff using TiffDevice. I am setting the resolution to 300. Aspose outputs a tiff at half the size.
I am expecting 12600 w x 9000 h pixels at 300x300 dpi. Instead I am getting 6300 w x 4500 h at 300 x 300 dpi, which is exactly half the size.
I am including the sample code and pdf to generate this.
I also tried to correct this by going through the pages, getting the pages size via Rect.Width and Rect.Height, then producing tiff images for each page. I left my commented code in the attachment.
The issue here is sometimes I get the wrong information back as detailed in this ticket:
Output from my sample code:
Pixel Width: 12600
Pixel Height: 9000
Pixel Width: 6300
Pixel Height: 4500