image: jp2 pow2 reduction fails for some images
Bug #535450 reported by
mangtronix
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Internet Archive BookReader |
Fix Released
|
High
|
mangtronix |
Bug Description
JP2 pow2 reduction will fail if insufficient levels are available.
Changed in bookreader: | |
milestone: | none → r22 |
Changed in bookreader: | |
assignee: | mangtronix (mang) → Winnie (winnie-archive) |
assignee: | Winnie (winnie-archive) → mangtronix (mang) |
Changed in bookreader: | |
milestone: | r22 → r23 |
Changed in bookreader: | |
status: | Confirmed → Triaged |
Changed in bookreader: | |
assignee: | Winnie (winnie-archive) → mangtronix (mang) |
Changed in bookreader: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
E.g. http:// ia331403. us.archive. org:80/ BookReader/ BookReaderImage s.php?zip= /1/items/ cu3192400400762 5/cu31924004007 625_jp2. zip&file= cu3192400400762 5_jp2/cu3192400 4007625_ 0016.jp2& scale=16& rotate= 0
$ unzip -p '/1/items/ cu3192400400762 5/cu31924004007 625_jp2. zip' 'cu319240040076 25_jp2/ cu3192400400762 5_0016. jp2' | /petabox/ sw/bin/ kdu_expand -no_seek -quiet -reduce 4 -rotate 0 -i /dev/stdin -o /tmp/stdout.bmp | bmptopnm | pnmtojpeg -quality 75 > hmm.jpg
Kakadu Core Error:
Attempting to access a non-existent resolution level within some
tile-component. Problem almost certainly caused by trying to discard more
resolution levels than the number of DWT levels used to compress a
tile-component.
bmptopnm: Windows BMP, 106x163x8
bmptopnm: -: couldn't read row 162
pnmtojpeg: EOF / read error reading magic number