krotchips.blogg.se

The best cbz reader
The best cbz reader













  1. #THE BEST CBZ READER ZIP FILE#
  2. #THE BEST CBZ READER UPDATE#
  3. #THE BEST CBZ READER RAR#

Kobo Clara HD features a ComfortLight PRO – color-changing LCD backlight. With only 166 grams on the scale, Kobo Clara HD is the lightest eReader in our review.ĭespite being a budget eReader, it features an impressive three to four weeks of battery capacity given an hour a day usage. Rather, you could unzip the binary data into IndexedDB.The eReader is very comfortable to hold over long periods of time due to its ergonomic and lightweight design. You can still download the code, but I would not recommend using it as is. I've created a simple "comic" out of a zip of pictures that can be downloaded here.Įdit on : Due to the age of the demo, and the fact that the File API is deprecated, I've removed the online demo. Note that you may want to try with the latest Chrome and with a small comic. Want to try it out? Hit the demo link below. (Whether or not the story is any good is another question.) I also provide UI feedback as the images are saved.Īnd then finally - the comic is readable. I think that's fairly decent for JavaScript. To be fair, I dragged a 35 megabyte file into the browser and it took about 40 seconds to parse. Here are a few screen shots though to give you an idea of how it works.įirst up - the application as it looks on loading.Īnd then it gets to work.

the best cbz reader

This is done via buttons that allow for navigation.Īnd that's it! Before I link to the demo, I'll warn you that this is not very tolerant of browsers that don't support everything required. Once done - that leaves us with the simple job of providing basic interaction with the images.

the best cbz reader

Here is the function that handles all of that.

  • Store a reference to them so I can display them to the user.
  • Save the files (again, this is a temporary file system).
  • We have access to the file from the drop event, so it is a simple matter of: Having the file system means I can extract the images out of the zip into the directory and refer to them later. Earlier on I did a quick request for some temporary file storage - which is pretty simple: In order to do that I am making use of the HTML5 File API.

    #THE BEST CBZ READER ZIP FILE#

    My application needs to try to decompress the zip file to the file system. Even better - I need to ensure that one file is dropped, not multiple. Don't forget that people can drag/drop blocks of text from other applications. First - it needs to figure out the type of drop. The dropHandler needs to do a few things.

    the best cbz reader

    Instead of a div, I made the entire page a target for drop events:Įdit on February 17, 2013: Chrome recently changed something (or changed after I blogged) that now makes you listen for, and prevent, the dragover event. Here's how I did it.įirst, I added drag/drop support to my application so that users could simply drag in their local CBZ files.

    the best cbz reader

    In fact, you can find an excellent JavaScript implementation: zip.js I thought it might be fun to try using that to build my own web-based CBZ reader.

    #THE BEST CBZ READER RAR#

    While there doesn't appear to be good support for RAR files (I've only found a Java library to list the contents), the Zip format is much more widely used and easy to work with. These aren't a special format, just simple compressed archives. Comic books are available in a compressed format typically called CBRs or CBZs.

    #THE BEST CBZ READER UPDATE#

    To fix the bug I needed to make one code tweak (noted below) and update to the latest copy of zip.js.įollowing up on my Sunday blog post on comics, I thought it would be fun to share a little experiment I built this weekend. Edited on February 17, 2013: I was alerted by a reader that this code is broken now.















    The best cbz reader