AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.09.20 16:54 "[Tiff] Problems with libtiff", by Alfredo Cruz Vázquez
2004.09.20 21:16 "Re: [Tiff] Problems with libtiff", by Andrey Kiselev

2004.09.20 16:54 "[Tiff] Problems with libtiff", by Alfredo Cruz Vázquez

Hi everybody,

I have downloaded versions 3.6.1 and 3.5.7; I have tryed them in HP-UX, Slackware and Windows with no good results. I'm trying to convert a file that I get from a fax, it starts with the hex string: 00 28 9B 15 00 65 B3 02.... this hex string repeats all over the document. I know that it is a Fax file because I have converted it with the libtiff that comes with the RedHat 9.0 distribution and it works perfectly.

This is how it works in RedHat:s "fax2tiff page_1.myfile"

Elsewhere I'm getting a Memory fault (core dump) message, and an error in windows when I try to convert it.

Thank you for your help!!!!

Sincerly,

Alfredo Cruz.

Here is the core dump that I get in the HP-Ux:

>> fragments of the dump file

Copyright (c) 1988-1996 Sam Leffler

Copyright (c) 1991-1996 Silicon Graphics, Inc.�����������������������xÿÎØ���y�æxÿÎà���y‚vxÿÎè€��y‚îxÿÎø€)��yƒîxÿÏþ��y‚~xÿÏ� ��xÿÆjxÿÏ���xÿÆjxÿÏ(���y‚xÿÏ8€��y‚-xÿÏH���y‚xÿÏX���y‚xÿÏh‡e��xÿÆjxÿÏx€²��xÿÆjxÿÏ€���xÿÆjxÿÏ�€���xÿÆjxÿÏ ‡t��y‚nxÿϨ‡u��y‚n������������None����LZW�����PackBits��������ThunderSca n�����NeXT����JPEG����Old-style JPEG��CCITT RLE�������CCITT RLE/W�����CCITT Group 3���CCITT Group 4���ISO JBIG��������Deflate�AdobeDeflate����PixarLog��������SGILog��SGILog24��������%s compression support is not configured����xÿÆš������������������������LZW�����%s %s encoding is no longer implemented due to U nisys patent enforcement��������%s %s encoding is not implemented�������Compression scheme %u %s encoding is not implemented����scanline��������strip���tile����%s %s decoding is not implemented�������Compression scheme %u %s decoding is not implemented����scanline��������strip���tile����Compression algorithm does not support random access����TIFFRegisterCODEC�������No space to register compression scheme %s������TIFFUnRegisterCODEC�&#0 ;���Cannot remove compression scheme %s; not registered�xÿÆ¢y€Æy€¦y€®y€¶y€Žy€–y€žxÿÆây€¾yƒÖy„.��������������������������������������������TIFFSetField����%s: Invalid InkNames value; expecting %d names, found %d��������LZW compression no longer supported due to Unisys patent enforcement����Bad value %ld for "%s" tag ignored������Nonstandard tile width %d, convert file�Nonstandard tile length %d, convert file��������Sorry, c annot nest SubIFDs������TIFFSetField����%s: Invalid %stag "%s" (not supported by codec)�pseduo-���������%d: Bad value for "%s"��%ld: Bad value for "%s"�%f: Bad value for "%s"��TIFFSetField����%s: Unknown %stag %u����pseudo-���������TIFFSetField����%s: Cannot modify tag "%s" while writing��������TIFFGetField����%s: Invalid %stag "%s" (not supported by codec)�pseudo-���������%s: Error fetching directory count������%s: Error fetching directory link��&# 0;����%s: Error fetching directory count������%s: Error fetching directory link�������Can not unlink directory in read-only file������Directory %d does not exist�����Error writing directory link����yƒVyƒ^yƒfyƒNxÿÇ"xÿÇ*TIFFAdvanceDirectory����TIFFUnlinkDirectory���������������������SubfileType�����SubfileType�����OldSubfileType��ImageWidth������ImageWidth������ImageLength�����Image Length�����BitsPerSample���Compression�����PhotometricInterpretation�������Threshholding���CellWidth�������CellLength������FillOrder�������DocumentName����ImageDescription��������Make����Model���StripOffsets����StripOffsets����Orientation�����SamplesPerPixel�RowsPerStrip����RowsPerStrip����StripByteCounts�StripByteCounts�MinSampleValue��MaxSampleValue��XRes olution�����YResolution�����PlanarConfiguration�����PageName��������XPosition�������YPosition�������FreeOffsets�����FreeByteCounts��GrayResponseUnit��������GrayResponseCurve�������ResolutionUnit��PageNumber������ColorResponseUnit�������TransferFunction��������Software��������DateTime��������Artist& #0;�HostComputer����WhitePoint������PrimaryChromaticities���ColorMap��������HalftoneHints���TileWidth�������TileWidth�������TileLength������TileLength������TileOffsets�����TileByteCounts��TileByteCounts��SubIFD��InkSet��InkNames��������NumberOfInks����DotRange��������DotRange��������TargetPrinter���ExtraSamples�& ;#0;��ExtraSamples����SampleFormat����SMinSampleValue�SMaxSampleValue�YCbCrCoefficients�������YCbCrSubsampling��������YCbCrPositioning��������ReferenceBlackWhite�����ReferenceBlackWhite�����Matteing��������DataType��������ImageDepth������ImageDepth������TileDepth�������TileDepth�������RichTIFFIPTC����Photoshop�����& amp;#0;�Photoshop�������ICC Profile�����StoNits�ImageFullWidth��ImageFullLength�TextureFormat���TextureWrapModes��������FieldOfViewCotan��������MatrixWorldToScreen�����MatrixWorldToCamera�����%s:

���field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s

�������TRUE����FALSE���TRUE����FALSE���TIFFFieldWithTag��������Internal error, unknown tag 0x%x��������fip != NULL�����../libtiff/tif_dirinfo.c�����������������������������������������

>>Many lines ahead....

��ÿþ��sp != NULL������../libtiff/tif_fax3.c���%s: Bad code word at scanline %d (x %lu)��������%s: Uncompressed data (not supported) at scanline %d (x %lu)����%s: %s at scanline %d (got %lu, expected %lu)���Premature EOL���Line length mismatch����%s: Premature EOF at scanline %d (x %lu)��������x == lastx������../libtiff/tif_fax3.c���Bits/sample must be 1 for Group 3/4 encoding/decoding���Fax3SetupState��%s: No space for Group 3/4 run arrays���Fax3SetupState��%s: No space for Group 3/4 reference line������&a mp;#0;te->runlen == 64*(span>>6)������../libtiff/tif_fax3.c���sp != NULL������../libtiff/tif_fax3.c���FaxMode�FaxFillFunc�����BadFaxLines�����BadFaxLines�����CleanFaxData����ConsecutiveBadFaxLines��ConsecutiveBadFaxLines��FaxRecvParams���FaxSubAddress���FaxRecvTime�����Group3Options���Group4Options��� ������� Group 4 Options:������%suncompressed data����� Group 3 Options:������%s2-d encoding& #0;�+�������%sEOL padding���+�������%suncompressed data����� (%lu = 0x%lx)

� Fax Data:����� clean�� receiver regenerated��� uncorrected errors����� (%u = 0x%x)

��� Bad Fax Lines: %lu

��� Consecutive Bad Fax Lines: %lu

������� Fax Receive Parameters: %08lx

�������� Fax SubAddress: %s

��� Fax Receive Time: %lu secs

���TIFFInitCCITTFax3�������%s: No space for state block����xÿÇRxÿÇZxÿÇbxÿÇjy�þxÿÇzxÿÇ‚xÿÇŠxÿÇ’xÿÇšxÿÇ¢xÿǪxÿDzxÿǺxÿÇÂxÿÇÊxÿÇÒxÿÇÒFax3Decode1D����Fax3Decode2D�����€Ààðøüþÿ�������������������� ���������?������ÿ���������������������������������������������&#0 ;�������������������������������������������������������������������������������������� 

>> finally

�xÿ܈����������������������������������������No space %s�����Seek error accessing TIFF directory�����Can not read TIFF directory count�������to read TIFF directory��Can not read TIFF directory�����Can not read TIFF directory count�������to read TIFF directory��Can not read TIFF directory�����invalid TIFF directory; tags are not sorted in ascending order��unknown field with tag %d (0x%x) ignored��&# 0;�����wrong data type %d for "%s"; tag ignored��������ImageLength�����PlanarConfiguration�����TileOffsets�����StripOffsets����to read "TransferFunction" tag��Colormap��������StripByteCounts�TIFF directory is missing required "%s" field, calculating from imagelength�����Bogus "%s" field, ignoring and calculating from imagelength�����for "StripByteCounts" array�����TIFF directory is missing required "%s" field���incorrect count for field "%s" (%lu, expecting %lu); tag ignored��������Error fetching data for field "%s"������%s: Rational with zero denominator (num = %lu)��to fetch array of rationals�����Cannot read TIFF_ANY type %d for field "%s"�����Cannot handle different per-sample values for field "%s"��������Cannot handle different per-sample values for field "%s"��������for strip array�to fetch strip tag������for chopped "StripByteCounts" array�����for chopped "StripOffsets" array��������to fetch tag value������for "ReferenceBlackWhite" array��������������& #0;������������������Error post-encoding before directory write������Error flushing data before directory write������Cannot write directory, out of space����Error writing directory count���Error writing directory contents��������Error writing directory link����"%s": Information lost writing value (%g) as (unsigned) RATIONAL��������Error writing data for field "%s"�������%s: Error writing SubIFD directory link�Error writing TIFF header�������Error fetching directory count�&a mp;#0;Error fetching directory link���Error writing directory link����TIFFLinkDirectory���������������������������������������n > 0���../libtiff/tif_dumpmode.c�������DumpModeDecode: Not enough data for scanline %d�xÿÇ:xÿÇBxÿÇJ�����������������������������

�7����������������������� ������ � ��

Platica con tus amigos en línea con T1msn Messenger: Haz clic aquí