AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.03.07 22:16 "Problem decoding G4 FAX tiffs", by Jonathan Potter
2005.03.07 22:20 "Re: Problem decoding G4 FAX tiffs", by Bob Friesenhahn
2005.03.07 22:36 "Re: Problem decoding G4 FAX tiffs", by Frank Warmerdam
2005.03.07 22:51 "Re: Problem decoding G4 FAX tiffs", by Jonathan Potter

2005.03.07 22:36 "Re: Problem decoding G4 FAX tiffs", by Frank Warmerdam

On Tue, 8 Mar 2005 09:16:57 +1100, Jonathan Potter <jon@gpsoft.com.au> wrote:
> 
> We have received a complaint from one of our users that our software (which
> utilises libtiff) is not able to properly display his fax images, although
> the Windows Fax Viewer is able to display them perfectly.

Jonathan, 

Like Bob, I had no problem displaying it with current CVS libtiff. 
I did notice that your no_show.png looks a bit like an alignment
problem and that the image is an odd width (not a multiple of 8).
Any chance your higher level code has problems unpacking 
bit data that isn't an even multiple of 8 so that it fits into bytes
nicely?

In addition to upgraded to the latest libtiff from CVS (or at least
the latest public release), I would encourage you to try converting
the file to RGBA with tiff2rgba to see if that works. Also, you 
really ought to explain what libtiff interfaces you are using to 
read the file (the RGBA interface?  TIFFReadScanline())? 

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent