Hi, the patch has been applied in CVS with some minor changes.
--Peter Peter Kirchgessner wrote: > Hi Jacek, > > I would prefer that the bug in tifftopnm should be fixed. scanimage does <snip> > > Jacek Pliszka wrote: > >> Hi! >> >> I posted a message some time ago but I got no reply. >> >> This is what I got with netpbm library 9.20 : >> >> [pliszka@snark hollik-fortsch]$ tifftopnm hollik-fortsch.165.tiff > >> /dev/null >> tifftopnm: writing PBM file >> tifftopnm: invalid value for fillorder: 0 >> >> The reason: >> >> scanimage puts wrong value (0 while should be 1 or 2) >> in fillorder .tiff field. Fix: >> >> --- orig/stiff.c Sat Dec 8 12:51:23 2001 >> +++ stiff.c Sat Dec 8 12:52:33 2001 >> @@ -212,6 +212,8 @@ >> add_ifd_entry (ifd, 259, IFDE_TYP_SHORT, 1, 1); >> /* photometric interpretation */ >> add_ifd_entry (ifd, 262, IFDE_TYP_SHORT, 1, 0); >> + /* byte fill order */ >> + add_ifd_entry (ifd, 266, IFDE_TYP_SHORT, 1, 1); >> /* strip offset */ >> add_ifd_entry (ifd, 273, IFDE_TYP_LONG, 1, strip_offset); >> /* orientation */ >> >> >> Coul someone apply it? >> Thanks for a great tool! >> >> Best Regards, >> >> Jacek >> >> P.S. Why don't you use libtiff ? >> >> _______________________________________________ >> Sane-devel mailing list >> [email protected] >> http://www.mostang.com/mailman/listinfo/sane-devel >> >> > > -- Peter Kirchgessner http://www.kirchgessner.net mailto:[email protected]
