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.19 17:21 "Re: Packbits errors", by Frank Warmerdam

Bernd Stahlbock wrote:
> Dear Ladies and Gentlemen,
> dear programmers,
> 
> I have some rare reading errors with packbit compressed files. I get no
> error message, but the images have some small image corruptions where
> pixels are shifted to the right a little bit. Sometimes only one line,
> sometimes maybe 300 or more. The next time I read the image, the display
> is without errors.
> 
> Are there any known errors like this for packbits? Doesn't have packbits
> an error correction?

Bernd,

Packbits does not include any error correction, but if the data is corrupted
in some way you should get the same results each time.  If you have a file
demonstrating this problem file the bug in bugzilla and Andrey can try and
reproduce it.  He could also run it through valgrind which may ferret out
subtle memory initialization bugs.

I would note the packbits decoder is really quite simple, and it is surprising
there would be a bug in it after all these years.

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