Acv Comic Optimizer
  • rogerroger August 2010
    Update 2010-08-16: Latest version: http://www.fsck.com.ar/d/acvoptimizer-0.2.tar.gz

    Hi, we created this project to optimize comics for Droid Comic Viewer. It reduces image size, converts to .cbz, and also converts .pdf files to .cbz format.

    Load speed increases a lot.

    It's written in python and has the following dependencies:

    • PIL: to resize img
    • unrar: to decompress .rar files
    • zip: to generate .cbz files
    • gs (optional): to read pdfs


    PS: It works only in *nix systems.

    url: http://www.fsck.com.ar/d/acvoptimizer.tar.gz
  • zissouzissou August 2010
    Hola Roger!

    Great contribution! Your forum status has been updated to Contributor.

    A couple of notes after a quick glance:

    • To improve performance, the zip compression level can be set to 0 (store). The lower the compression, the faster Droid Comic Viewer will extract the images.
    • You might want to set the maximum size (now hardcoded to 1024) as a parameter.
  • rogerroger August 2010
    Hi, thanks for the status update!

    Here it is the new release,

    Changes:
    * the zip compression level now is 0(store)
    * max width can be set
    * multiple args support, ex. python acvoptimizer.py -w 800 test.cbr test.pdf dir_with_comics/

    url: http://www.fsck.com.ar/d/acvoptimizer-0.2.tar.gz
  • zissouzissou August 2010
    Gracias, roger. Te molesta si corrijo algunos errores tipográficos menores en tu mensaje original?
  • rogerroger August 2010
    zissou, al contrario, al no ser ingles mi lengua nativa puede(debe) tener bugs, jeje
  • zissouzissou August 2010
    Done. ;)
  • alanhorkanalanhorkan June 2011
    Nice. Another user on the forums here wrote a unix shellscript to help convert comic files and I wrote a DOS batch script that uses 7-zip to convert CBR to CBZ (my script also tries to remove banner images other other unnecessary files that might take the limited space available).
    I like that your code is in Python, I should be able to make changes I might need without too much difficulty and I think this could be very useful.
    On the desktop I use MComix, also written in Python http://mcomix.sourceforge.net/

    There is no copyright information or author name included in your code.
    What is the license for your code? (Personally I prefer MIT or Apache license.)

    It might be good to also support the flag -v --version that returns the application name and version number as GNU recommend all command line applications at support -v and -h for consistency.

    Nice work, thanks again.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter Sign In with OpenID Sign In with Google Login with Facebook

Sign In Apply for Membership