Error with some PackBits TIFF images
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
Here is a simple TIFF image with planar configuration and pack bits that does not load with Lazarus.
id 100 type 3 n 1 = 91
id 101 type 3 n 1 = 58
id 102 type 3 n 3 = 15980
id 103 type 3 n 1 = 1
id 106 type 3 n 1 = 2
id 111 type 4 n 3 = 15998
id 115 type 3 n 1 = 3
id 116 type 3 n 1 = 58
id 117 type 4 n 3 = 15986
id 11C type 3 n 1 = 2
id 153 type 3 n 3 = 16010
Steps to reproduce:
This code will generate the exception "number of StripCounts is wrong at position 16010"
pic := TPicture.create;
try
pic.Loadfromfile(fnm);
except
pic.free;
exit;
end;
...
pic.free
Mantis conversion info:
- Mantis ID: 35976
- OS: Darwin
- OS Build: 10.11.6
- Build: 61714
- Platform: MacBook 2012 Retina 13"
- Version: 2.0.3 (SVN)