in house dollar bill thumbnail
Comic Book Plus In-House Image
 Total: 43,560 books
 New: 50 books




small login logo

Please enter your details to login and enjoy all the fun of the fair!

Not a member? Join us here. Everything is FREE and ALWAYS will be.

Forgotten your login details? No problem, you can get your password back here.

Advanced Comic Book Format

Pages: [1]

topic icon Author Topic: Advanced Comic Book Format  (Read 12274 times)

GeoRW

message icon
Advanced Comic Book Format
« on: December 29, 2011, 09:53:07 PM »

Hello everyone,

I'm working on a XML based comic book format that I call "Advanced Comic Book Format" or simply ACBF. Widely used Comic Book Archive (CBR, CBZ etc.) has many drawbacks. It's basically just an archive of images. ACBF in contrast will support:
- comic book metadata (title, author(s), genre, annotation, keywords, publisher, publish date, city, ISBN, license etc.)
- definition of comic book structure (pages, frames) - if frames are defined you can zoom in to frame level and read frame by frame (usefull on smaller screens like PDAs, tablets ...)
- it will support a separate semantically enhanced text-layer over the background graphics (like emphasised text, commentary, striked-through text, computer code etc.). Comic book with such separate graphic and text-layer can be more easily readable on smaller screens again because text is drawn by fonts instead of be part of the background image. Besides, more text-layers can be defined for particular comic book, each for different translation.

Everything (included binary data like images and maybe fonts, sounds in the future) will be in a single file, though there's support for having these in separate files outside the ACBF document.

For this project I created project page on Launchpad (https://launchpad.net/acbf). Current specifications you can find in the repository, inside the Docs directory. I'm looking for any feedback, suggestions.

I'm also developing a ACBF Viewer application. So far it is in early stages but is able to load ACBF file and navigate through the whole comic book - also zoomed in to the frame level. It is written in python and uses GTK library for drawing user interface. I'm using Linux (on desktop as well as on my PDA) but it should be possible to run the viewer under Windows or Mac as well (after installing Python and GTK, but don't have any experience with this). ACBF Viewer as well as all ACBF specifications are free.

There's still a lot of work to do. Specifications should be improved, XML schema created afterwards, ACBF viewer improved and also some comic books converted to ACBF. There is a sample comic book in the repository, which currently has only 3 pages (with frames definition included). It's a "Craphound" comic book based on Cory Doctorow's story - I really recommend to read it, it's a classic and it's free :-). You can find it here in PDF format: http://www.archive.org/details/CoryDoctorowsFuturisticTalesOfTheHereAndNow. Hopefully I will soon add more pages but programming ACBF viewer takes most of the time I spend on the project currently.

So any feedback, suggestions or help is appreciated. If you have any questions, just let me know.
Have a nice day.
ip icon Logged

Janus Wolf

  • VIP & JVJ Project Member
message icon
Re: Advanced Comic Book Format
« Reply #1 on: December 30, 2011, 03:51:31 AM »

As a test can you convert one of the comics here in ACB Format?
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #2 on: December 30, 2011, 06:03:45 PM »

Well, I can do that but may take a while. Which one you suggest? Meanwhile you can check the sample .acbf file in the project repository. You can take from ACBF capabilities just anything you want when creating acbf document. For example you may just fill in the meta-data and insert background images. You don't have to define frames or text-layers. Here it is how the XML file looks like (from sample comic book in the repository):

<?xml version="1.0" encoding="utf-8"?>
<ACBF xmlns="http://www.fictionbook-lib.org/xml/acbf/1.0">
<meta-data>
  <book-info>
   <author activity="Writer">
    <first-name>Cory</first-name>
    <last-name>Doctorow</last-name>
   </author>
   <author activity="Adapter">
    <first-name>Dara</first-name>
    <last-name>Naraghi</last-name>
   </author>
   <author activity="Artist">
    <first-name>Paul</first-name>
    <last-name>McCaffrey</last-name>
   </author>
   <author activity="Letterer">
    <first-name>Robbie</first-name>
    <last-name>Robbins</last-name>
   </author>
   <author activity="CoverArtist">
    <first-name>Paul</first-name>
    <last-name>Pope</last-name>
   </author>
   <author activity="Editor">
    <first-name>Tom</first-name>
    <last-name>Waltz</last-name>
   </author>
   <translator lang="sk">
    <first-name>R
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #3 on: December 30, 2011, 06:13:22 PM »

and here's the direct link to repository: http://bazaar.launchpad.net/~just-me/acbf/trunk/files
ip icon Logged

narfstar

  • Administrator
message icon
Re: Advanced Comic Book Format
« Reply #4 on: December 30, 2011, 09:19:43 PM »

Sounds great hope to have time to try it
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #5 on: December 30, 2011, 09:29:51 PM »

I've made some screenshots of Viewer application, if anyone interested: https://plus.google.com/photos/110989843476988874482/albums/5692035097709963025
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #6 on: January 02, 2012, 09:56:04 AM »

Just sharing the news about ACBF: I finished the creation of the first comic book in ACBF format. So the first ever is Craphound by Cory Doctorow. You can find it in the project repository. You're welcome to download it, study it and give me any suggestions to improve the file format, or Viewer application.
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #7 on: January 02, 2012, 04:13:51 PM »

I managed to run ACBF Viewer under Windows, so if anyone with Windows wants to try it, here's the recipe (for 32-bit Windows):

Install python:
http://python.org/ftp/python/2.7.2/python-2.7.2.msi

Install PyGTK:
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.0.win32-py2.7.msi

Install Python Imaging Library:
http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe

Install lxml library:
From http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml get lxml-2.3.2.win32-py2.7.exe

If you encounter any error messages like "unable to register a library" or something like that, just ignore it.

After you install all 4 packages, download ACBF Viewer from here: http://bazaar.launchpad.net/~just-me/acbf/trunk/view/head:/ACBFViewer.zip
Unzip the file and inside you will find src directory. Navigate to it and double click acbfv.py file.

You will need some comic book in ACBF format as well. So download Craphound comic from http://bazaar.launchpad.net/~just-me/acbf/trunk/view/head:/Sample%20Comic%20Book/Doctorow%2C%20Cory%20-%20Craphound.acbf
In ACBF Viewer the first icon on the toolbar opens "Open File" dialog.

A bit complicated, huh? :-)


You may download easy to use Windows 32 executable. See a couple of posts later.
« Last Edit: January 04, 2012, 10:42:49 AM by GeoRW »
ip icon Logged
Comic Book Plus In-House Image

Janus Wolf

  • VIP & JVJ Project Member
message icon
Re: Advanced Comic Book Format
« Reply #8 on: January 03, 2012, 12:02:08 AM »

Yes, its a bit complicated, it seems your at a beta stage with this. This is alot to ask a regular user to do. Most users just want to click once and install.

Nevertheless, I what are your plans with this software? Goals, visions etc? I think there is always many users maybe slow to consider your software.
However, I would like to see how your software with:

http://www.goldenagecomics.co.uk/index.php?dlid=9867 (Purple Claw 1) as I have this book myself.

JW

ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #9 on: January 03, 2012, 06:33:55 AM »

Actually the reader is quite stable, version 0.3 can be used without problems. File format specifications can change though, but I don't think there will be any major change in specs now. Version 1.0 should be ready in a couple of months, just letting enough time for people to give some feedback about it.

About the installation procedure, it is quite complicated for Windows users because python is interpreted language, so you don't usually compile those languages. Most linux distributions (I would say almost all) have python installed by default and many programs use those additional libraries as well, so you don't have to install them - they are already present in your system. That's because the installation is quite complicated in Windows. But maybe there's a way how to compile the code and make an easy to use Windows .exe file, will have to research this option as I'm not using Windows normally.

Regarding the Purple Claw comic book I will convert it as soon as I can. Are you able to use the ACBF Viewer on your computer meanwhile?
ip icon Logged

narfstar

  • Administrator
message icon
Re: Advanced Comic Book Format
« Reply #10 on: January 03, 2012, 11:15:15 AM »

I use windows. When I looked at the installation I gave up on the idea. I am spoiled to just an exe install file
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #11 on: January 04, 2012, 10:26:01 AM »

thanks for all the replies. I managed to create a Win32 executable for ACBF Viewer, so if you wanna try it you may get it from project main page (green Downloads section on the right side). There's a viewer and sample comic book to download. No need to install Python and all those libraries anymore (at least I think so - tried on 2 different computers with Windows XP installed)
« Last Edit: January 04, 2012, 11:16:43 AM by GeoRW »
ip icon Logged

narfstar

  • Administrator
message icon
Re: Advanced Comic Book Format
« Reply #12 on: January 05, 2012, 12:12:15 AM »

I forgot to bring my charger home so my laptop is not long for the night. I hope to try this on the weekend
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #13 on: January 09, 2012, 07:10:09 PM »

Hi,

I converted "The Purple Claw 1" to ACBF, You can find it here: https://rapidshare.com/files/4190139318/The_Purple_Claw_1.acbf
It does not contain pages with advertisements, and there's only Purple Claw comic inside, not that written story nor comic pages about space travel that were included in original. Looks like it's still copyrighted in EU so I cannot put it on project server and publish it myself ... therefore Rapidshare ... and as a publisher I stated GoldenAgeComics.co.uk :-)
ip icon Logged

Janus Wolf

  • VIP & JVJ Project Member
message icon
Re: Advanced Comic Book Format
« Reply #14 on: January 10, 2012, 03:36:56 AM »

Looks good, you will have to get alot of buy in (people to do this) to add data you have added in the comic.
I liked how you singled out parts / boxes of the comic...
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #15 on: January 10, 2012, 10:21:31 AM »

Adding frame/panels definition is a tricky part, I have tools for that but it may be complicated for people to do until someone creates a user friendly editor :-) Adding meta-data, pages definition, including page titles (for creating Table of Contents) should be much easier. But I appreciate all the work people already did scanning all those comics that are available here. It's a great resource to build upon.
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #16 on: February 29, 2012, 08:54:06 PM »

If anyone interested, I just released version 1.0 beta of ACBF specifications along with complete XML schema as well as linux installer and Windows executable for ACBF Viewer version 0.4. Five sample comic books are also available to download. Everything can be found on project page in the green download section on the right side.

Some major improvements:
- ACBF Viewer is capable of loading CBZ files as well as ZIP files containing images
- comics can be read on "fit width" zoom level
- *.acbf file can be embedded into CBZ archive for improved compatibility with pure CBZ viewers (this is supported by the viewer as well)
- and many other minor fixes and improvements

Final version of specifications is planned for the beginning of next month. Any suggestions and spotted bugs are welcome. If you don't want to install the Viewer you may want to take a look at some screenshots perhaps :-)
ip icon Logged

GeoRW

message icon
Re: Advanced Comic Book Format
« Reply #17 on: November 18, 2015, 06:26:07 AM »

Hi everyone,

it's been a while since I posted this topic. Meanwhile, ACBF project has evolved a lot. So, if anyone from this community is interested to try it out, here's what's new:

  • ACBF Viewer (Linux and Windows version) almost fully supports 1.0 format specifications, has it's own comic books library, based on comic metadata you can browse it easily
  • ACBF Viewer for Android - new application, port of ACBF Viewer to Android, supports smooth panel by panel viewing
  • ACBF Editor (Linux and Windows version) - application to help you create ACBF comics (CBZ files with ACBF file inside), edit metadata and you can already create frames/panels definitions there
  • Several comics have been converted to ACBF, many of them having panels definitions and text-layers with translations; complete list is available on Wiki page: http://acbf.wikia.com/wiki/ACBF_Comic_Books


Main project page: https://launchpad.net/acbf
Wiki page having a lot of information about the format and available tools: http://acbf.wikia.com/wiki/Advanced_Comic_Book_Format_Wiki

For maintaining a my comic book library I use desktop ACBF Viewer application, for editing metadata ACBF Editor and for actual reading ACBF Viewer for Android. ACBF Viewer for Android is also available from Google Play store for 0.5 EUR, if anyone wants to support the project and receive updates from there, but otherwise everything is open source and free to download from project page on Launchpad.

Enjoy converting some of your comics to ACBF with metadata and panel by panel viewing  8)
ip icon Logged
Pages: [1]
 

Comic Book Plus In-House Image
Mission: Our mission is to present free of charge, and to the widest audience, popular cultural works of the past. These are offered as a contribution to education and lifelong learning. They reflect the attitudes, perspectives, and beliefs of different times. We do not endorse these views, which may contain content offensive to modern users.

Disclaimer: We aim to house only Public Domain content. If you suspect that any of our material may be infringing copyright, please use our contact page to let us know. So we can investigate further. Utilizing our downloadable content, is strictly at your own risk. In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website.