Ruby gem to convert Comic Book Archive files to PDFs.
Currently supports CBR and CBZ archives.
Add this line to your application's Gemfile:
gem 'cbr2pdf'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cbr2pdf
General form:
cbr2pdf -o OUTPUT_FILE INPUT_FILE [INPUT_FILE...]
For example, to convert a single CBR to a PDF:
cbr2pdf -o mybook.pdf mybook.cbr
Or, to combine several CBRs into a single PDF:
cbr2pdf -o mytpb.pdf book1.cbr book2.cbz book3.cbr
CBR and CBZ archives can be mixed. All pages will be added sequentially by name, and books will be added in the order they are specified.
Requires unrar
application available on command line to handle CBR files.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request