AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2012

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2012.04.11 09:48 "tiff2pdf fit image to page - how does it scale?", by David E Meier
2012.04.11 10:25 "Re: tiff2pdf fit image to page - how does it scale?", by <pullmoll@t-online.de>
2012.04.11 12:20 "Re: tiff2pdf fit image to page - how does it scale?", by David E Meier
2012.04.11 14:49 "Re: tiff2pdf fit image to page - how does it scale?", by Lee Howard
2012.04.11 22:38 "Re: tiff2pdf fit image to page - how does it scale?", by James Cloos
2012.04.12 01:49 "Re: tiff2pdf fit image to page - how does it scale?", by Steve Underwood

2012.04.11 09:48 "tiff2pdf fit image to page - how does it scale?", by David E Meier

Hi list,

I am using this command to convert fax images to PDF files:

tiff2pdf -p A4 -o output.pdf input.tif

Some images get cropped during conversion and part of the fax header on
top of the page is cut off. In the original image the header is all there.
So, it seems to me that the image is not properly scaled to the page size.
I can set the paper size manually with the -w and -l options but then the
page is not A4 anymore.

So I thought I could scale the image before conversion and I look at a few
other images. However, this got me confused on how the images are scaled
in tiff2pdf.

For example: I have an image of size (w:1728 h:1138) and it gets stretched
vertically to fit the page. Then I have an image of 1728x2322 where part
of the header is cropped.

If I calculate the size of an A4 page with 1728 pixels width it would give
me 2444 pixels in height, thus, larger than the image that is getting
cropped.

Can anyone shine a little light on this matter? Thanks,

David