support tar'ed image stacks

Bug #385397 reported by mangtronix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Internet Archive BookReader
Fix Released
High
mangtronix

Bug Description

Support image stacks within tar instead of zip

Tags: needs-qa
mangtronix (mang)
Changed in bookreader:
assignee: nobody → mangtronix (mang)
status: New → Confirmed
Revision history for this message
mangtronix (mang) wrote :

There also exist jpg.zip image stacks.

Changed in bookreader:
importance: Undecided → Medium
Revision history for this message
mangtronix (mang) wrote :

Needed when image stack is >2gb (we make a tar image stack instead of zip).

Changed in bookreader:
importance: Medium → High
Revision history for this message
mangtronix (mang) wrote :
Changed in bookreader:
milestone: none → 0.9.19
status: Confirmed → In Progress
Revision history for this message
mangtronix (mang) wrote :

These books may use tar files since the image stacks are >2gb. Unix "tar" was too slow so we're using 7z instead (which, awesomely, uses seeking between the tar record headers).

Doing some cleanup but should be ready for testing soon.

Revision history for this message
mangtronix (mang) wrote :
Revision history for this message
mangtronix (mang) wrote :

The first time you load an image in one of these books it may take a long time (>10s). Once the file cache is hot access should be nice and snappy.

I added two feature requests to make this better for the user:
Spinny icon while image loading: https://bugs.edge.launchpad.net/bookreader/+bug/511389
Don't pre-cache invisible images before visible ones loaded: https://bugs.edge.launchpad.net/bookreader/+bug/511391

Since these seem to require dependably catching the image loaded event cross-browser, I'm pushing them to a future release, and making the books accessible now.

mangtronix (mang)
tags: added: needs-qa
Changed in bookreader:
status: In Progress → Triaged
Revision history for this message
mangtronix (mang) wrote :
Revision history for this message
mangtronix (mang) wrote :
Revision history for this message
mangtronix (mang) wrote :

Testers - please check that books with tar image stacks work, and that a random pick of some other books still work. There's a link to books with tar image stacks above.

To access the testing host replace www.archive.org with www-testflip.archive.org

There may be a long delay accessing the first page. I've added some feature requests for making that better in comment #6.

Revision history for this message
raj (raj-archive) wrote :
Revision history for this message
raj (raj-archive) wrote :

The above links all work in OSX 10.5 / FF 3.5.3 as well.

Revision history for this message
mangtronix (mang) wrote :

Great. The book with colour card has the card included as addToAccessFormats true in the scandata. Looks like operator error.

mangtronix (mang)
Changed in bookreader:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.