HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Fixing line break issues
>
> Tuc at T-B-O-H.NET wrote:
>
> > I have a file that is showing :
> >
> >valhalla# cqtest fax000000031.tif
> >1728 x 297, 7.7 line/mm, 2-D MR, lsb-to-msb
> >TIFFReadRawStrip: fax000000031.tif: Read error at scanline 4294967295, strip 0; got 149844 bytes, expected 306638.
> >Read error on strip 0
> >
> > And I could bet the farm there was a utility to fix
> >this, clean it up per se, but I can't find it for the life of me.
> >Can someone remind me ?
> >
>
> On some of my installations in FaxDispatch I use tiffsplit to split up
> the fax into individual pages and then tiffcp to rejoin them and ensure
> that in whatever the next step is that the TIFF file is entirely useable.
>
> -----------------------------------
> # clean up the TIFF from unintelligible pages
> TMPDIR=tmp/FaxDispatch$$
> mkdir $TMPDIR
> cd $TMPDIR
> tiffsplit ../../$FILE
> tiffcp * ../../$FILE
> cd ../..
> rm -rf $TMPDIR
> -----------------------------------
>
> I'm usually not a big fan of changing the recvq files from their
> original form, however... so sometimes I keep a backup of the original
> or change $FILE to point to the new file.
>
Its not looking like that'll do me ......
valhalla# pwd
/var/spool/hylafax/recvq/tmp
valhalla# cd ..
valhalla# rm -rf tmp
valhalla# pwd
/var/spool/hylafax/recvq
valhalla# mkdir tmp
valhalla# cd tmp
valhalla# ls -l ../fax000000031.tif
-rw-r--r-- 1 uucp dialer 307121 Feb 22 16:54 ../fax000000031.tif
valhalla# file ../fax000000031.tif
../fax000000031.tif: TIFF image data, little-endian
valhalla# tiffsplit ../fax000000031.tif
TIFFReadRawStrip: ../fax000000031.tif: Read error at scanline 4294967295, strip 0; got 149844 bytes, expected 306638.
valhalla# ls -l *
-rw-r--r-- 1 root dialer 8 Feb 22 20:52 xaaa.tif
Its only ending up to be 8 bytes stripped.
I was thinking there was something called cqclean or
an option to cqtest.. I used to use it constantly and now I can't
seem to find it!
Thanks, Tuc
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*