ePUB Comic Book Template
The template is for a 24-page comic with cover. Page images are 592 x 900 (pixels). Page count and image size can easily be changed (until the iPad comes out, I'll wait until settling on a final size). There's an XPGT page template file to make it look better in Adobe's Digital Editions. Other readers will ignore this file, which is fine since the readers I tested don't need it. There's a copyright page that shows font embedding. The template is using pixelated images for testing purposes (and to keep them small).
The book is built with three parts; each with 8 pages. Those are broken down into 4, 2-page spreads. Each spread is a DIV element enclosing two IMG elements (the IMGs flow, but the DIV doesn't). This rendered the best (as far as I could figure out) since it compensated for 1-3 columns thus displaying either a single page or a spread. Pages and spreads are centered in the display window. Each image has some margin right and bottom to add separation between pages and spreads. If anyone has better solutions, let me know.
Some helpful things to know for newbies:
- To open an ePUB and check out the contents, open file by unzipping
- To create an ePUB, run this in the command line: zip -Xr9D epub_comic_tmp.epub mimetype *
I'll have PHP source to handle ePUB creation and font mangling (ADE & IDPF) plus UUID creation soon. I'm debating whether to include some form of encryption (of image files). Is encryption or DRM even necessary when every method has been decrypted? Also, DRM is by far the biggest complaint from users (including myself).
I'm leaning towards simply mangling fonts and images to frustrate most users (users could still do screen shots of the images). Adobe says not to mangle images but why not (it works and who the hell cares what Adobe thinks)? Those images, in addition, are of such low resolution, that their use would be limited. A system of watermarking/stamping could be used to deter sharing/posting of the ePUB files. A lot depends on what Apple's iBook Store implements.
Let me know if anyone has more ideas/solutions.