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
January 2004

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

2004.01.19 17:01 "Packbits errors", by Bernd Stahlbock
2004.01.19 17:21 "Re: Packbits errors", by Frank Warmerdam
2004.01.20 08:25 "Re: Packbits errors", by Bernd Stahlbock
2004.01.20 14:47 "Re: Packbits errors", by Frank Warmerdam

2004.01.20 14:47 "Re: Packbits errors", by Frank Warmerdam

Bernd Stahlbock wrote:
> Frank,
> 
> 
> the files are OK, if they are re-read the display error disappears.
> Therefore I would say that
> 1. there is a bug in our code for displaying the image data, or
> 2. sometimes we have read errors from the disk
> 
> As we see these errors only with Packbits I would rule out no. 1.
> Is it possible to have sporadic read errors on modern computers that
> would cause bit errors during image decoding? The images are quite big,
> up to several 100MB.

Bernd,

It is certainly *possible* to have intermittent disk io errors, but if the
issue is occuring with a variety of packbits images, and nothing else then
this seems unlikely.  I always suspect peoples application code ... but based
on your description the mostly likely case seems to be some sort of
un-initialized memory in the packbits decoder. Could you provide a tiffinfo
report on the files?  Then we can try to re-construct something similar here
and process it through valgrind to see if that picks anything up.

If we can't reproduce the issue then there isn't really anything we can do.

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