
In case you want to print the comic books or transfer them to a mobile device that can only handle a certain page size, you have the options to set the width and height, as well as the margins for the PDF pages.

It can easily help you convert your CBR and CBZ files to readable PDF documents.To rename the ZIP file, right-click it in Windows Explorer, and select the option from the context menu.Ī few last wordsĪs far as practical and purpose oriented applications go, CBR and CBZ to PDF is there. You have successfully created a CBZ file by changing the extension from.zip to.cbz and then pressing Enter to confirm. git tag -a v1.1.1 -m "Version v1.1.The file is now ready to be used with a comic reader application. Update setup.py with the new version number (e.g.To run Black and lint the code, use: $ make lint This project makes use of the Black python code formatter which automatically reformats code. To enter the virtual environment: # Windows You may also run the script directly, but note that the dependencies are installed into the virtual environment. To test changes to your script, you can install a development version which links to your source code: $ python setup.py developĪnd this can be uninstalled with $ python setup.py develop -uninstall To setup the virtual environment and install dependencies: $ make init $ python comic2pdf.py -o /dest/folder file.cbrĭevelopment is aided by a Makefile which uses a virtual environment. You can use the package without installing it, simply install dependencies and run the comic2pdf.py script.

Development dependencies are listed in requirements.txt. Production dependencies are listed in setup.py. to process all files in a folder (will ignore any file extensions except.

version show program's version number and exitĮ.g. h, -help show this help message and exit The output files will be named the same as the input files but with a. The comic2pdf command should be globally available, pass as arguments the path(s) to the cbr / cbz files and optionally specify an output folder.

A script to convert comic files (cbr, cbz) to pdf, in python3.
