2011.12.21 14:52 "[Tiff] Proposed patch for ppm2tiff", by Jürgen_Buchmüller

2011.12.21 19:17 "Re: [Tiff] Proposed patch for ppm2tiff", by Frank Warmerdam

Jürgen / Bob,

Do we have other utilities that let the user pass raw mode values? I'd rather not have this in ppm2tiff if it is not an established pratice. Of course -a for append is fine.

Best regards,

2011/12/21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>:

On Wed, 21 Dec 2011, Jürgen Buchmüller wrote:

On Wed, 21 Dec 2011 10:08:36 -0600 (CST) Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:

>>> Since there is only one useful mode option, I suggest that the '-m a' >>> option be changed to a simple flag like '-a' for append.  Can you

>>> incorporate that in your patch?

Sure. There are more - possibly useful - mode options, though. The list of options given in TIFFOpen(3TIFF) like l,b to change the byte order, m to disable memory mapped files, perhaps h to skip some parsing overhead (untested).

Ahhh, I see. makes more sense then. since there is a  This  Regardless, manual page for ppm2tiff (man/bmp2tiff.1 in the source tree) there would need to be an associated manual page update which at least refers to the

> TIFFOpen(3TIFF) manual page for the meaning of the mode options.  The mode

options are libtiff version dependent. 4 (to be released soon)  Libtiff offers more mode options.

Are you willing and able to send a patch for the manual page as well?

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer