AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.09.25 02:19 "[Tiff] tiff-3.7.0beta tools", by Gennady Khokhorin
2004.09.25 18:33 "Re: [Tiff] tiff-3.7.0beta tools", by Andrey Kiselev

2004.09.25 02:19 "[Tiff] tiff-3.7.0beta tools", by Gennady Khokhorin

Hello, all.

Found missing lines in tiff2bw.c file (after line 369):

} tags[] = {
 { TIFFTAG_IMAGEWIDTH, 1, TIFF_LONG }, // missed line
 { TIFFTAG_IMAGELENGTH, 1, TIFF_LONG }, // missed line

 { TIFFTAG_SUBFILETYPE, 1, TIFF_LONG },
...

Otherwise routine will give error message: "<>.tif: Must set "ImageWidth" before writing data

Gennady Khokhorin
Software Developer,
AeroMap US, Intl

www.aeromap.com