2004.09.25 18:33 "Re: [Tiff] tiff-3.7.0beta tools", by Andrey Kiselev
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
Thanks, fixed.
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517