AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.07.27 17:44 "[Tiff] How to create a 200x100 dpi TIFF file?", by mohamad zeinali
2007.07.27 17:53 "Re: [Tiff] How to create a 200x100 dpi TIFF file?", by Toby Thain
2007.07.27 17:54 "Re: [Tiff] How to create a 200x100 dpi TIFF file?", by Bob Friesenhahn

2007.07.27 17:54 "Re: [Tiff] How to create a 200x100 dpi TIFF file?", by Bob Friesenhahn

Hi there,

I want to make a TIFF file from a TBitmap. I read the thread: http://www.asmail.be/msg0054998186.html

It helped a lot, but I need my file to be Fax Group 3 and also with 200 dpi horizontal resolution and

100dpi vertical resolution. I know how to make it G3 but I have a headache with resolution.

I tried XRESOLUTION and YRESOLUTION tags without any luck.

Libtiff will only save the pixels as supplied. The resolution values are just attributes for the image. Libtiff will not resample the pixels for you. If you have an image that needs to be resampled to work with FAX, then you will need to use some other software that can do the resampling for you.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/