{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b7f410e5c65047def829c4ac90630dc9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b7f410e5c65047def829c4ac90630dc9","url":"https://api.github.com/users/EdwardBetts","login":"EdwardBetts","id":3818},"assignee":null,"updated_at":"2011-10-31T20:45:14Z","labels":[],"comments":1,"closed_at":null,"url":"https://api.github.com/repos/openlibrary/bookreader/issues/14","body":"http://www.archive.org/download/Magic-Mouse-2010-12/page/cover_thumb.jpg redirects to http://ia600309.us.archive.org/BookReader/BookReaderPreview.php?id=Magic-Mouse-2010-12&itemPath=%2F31%2Fitems%2FMagic-Mouse-2010-12&server=ia600309.us.archive.org&page=cover_thumb.jpg and returns this:\r\n\r\nError serving request:\r\n  Image error: Problem processing image - command failed:\r\n unzip -p '/31/items/Magic-Mouse-2010-12/Magic-Mouse-Teardown_jp2.zip' 'Magic-Mouse-Teardown_jp2/Magic-Mouse-Teardown_0000.jp2' | /petabox/sw/bin/kdu_expand -no_seek -quiet -reduce 5 -rotate 0 -region {0.000000,0.000000},{1.000000,1.000000} -i /dev/stdin -o /tmp/stdout.bmp | (bmptopnm 2>/dev/null) | pnmtojpeg -quality 75\r\n\r\nDebugging information:\r\n#0 /var/www/BookReader/BookReaderImages.inc.php(488): BookReaderImages->BRfatal('Problem process...')\r\n#1 /var/www/BookReader/BookReaderImages.inc.php(208): BookReaderImages->serveRequest(Array)\r\n#2 /var/www/BookReader/BookReaderPreview.php(46): BookReaderImages->serveLookupRequest(Array)\r\n#3 {main}","html_url":"https://github.com/openlibrary/bookreader/issues/14","title":"Cover image fails for Magic-Mouse-2010-12","number":14,"id":2084872,"created_at":"2011-10-28T23:29:51Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b7f410e5c65047def829c4ac90630dc9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b7f410e5c65047def829c4ac90630dc9","url":"https://api.github.com/users/EdwardBetts","login":"EdwardBetts","id":3818},"updated_at":"2011-10-31T20:45:14Z","url":"https://api.github.com/repos/openlibrary/bookreader/issues/comments/2582999","body":"The debugging output claims that kdu_expand is called with the parameter \"-reduce 5\" but if I print the value of $cmd before it is run I see \"-reduce 6\". Setting $powReduce=5 makes BookReaderPreview.php work.","id":2582999,"created_at":"2011-10-31T20:45:14Z"}}