Tiff to JPEG 2K error

Stephen Yip stephen.fyip1 at gmail.com
Wed Jul 18 15:14:40 EDT 2018


Dear community,

I am trying to convert our WSI from TIFF to JPEG 2K using libtiff.h of
OpenSlide.

However, I keep getting this following error.
TIFFReadRawTile: Read error at row 4294967295, col 4294967295; got
18446744073709551615 bytes, expected 0.
E0718 16:20:29.440285 BagOfTasksProcessor.cpp:66] Exception while
processing a bag of tasks: Corrupted file (e.g. inconsistent MD5 hash)
TIFFReadRawTile: Read error at row 4294967295, col 4294967295; got
18446744073709551615 bytes, expected 0.
E0718 16:20:29.442426 BagOfTasksProcessor.cpp:66] Exception while
processing a bag of tasks: Corrupted file (e.g. inconsistent MD5 hash)
TIFFReadRawTile: Read error at row 4294967295, col 4294967295; got
18446744073709551615 bytes, expected 0.
E0718 16:20:29.444385 BagOfTasksProcessor.cpp:66] Exception while
processing a bag of tasks: Corrupted file (e.g. inconsistent MD5 hash)
........
I suspected that this is due to the data loss on our WSI (see attached for
snapshot; where red arrow highlighted patch w/ data loss).

1. Does anyone know how to repair this data loss?
2. Since the blurry patches are only small % of our WSIs, I wonder if there
is any way to override the error and still get the conversion done.

Thank you very much!
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20180718/21078fec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data_loss_LI.jpg
Type: image/jpeg
Size: 678332 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20180718/21078fec/attachment-0001.jpg>


More information about the openslide-users mailing list