Skip to main content

📚 cbrtopdf

cbrtopdf is a command-line tool that converts CBR (Comic Book RAR) files into PDF, with proper support for:

  • Comics (left-to-right reading)

  • Manga (right-to-left reading)

  • Double-page spreads

  • Automatic page rotation

  • Chapter detection and PDF bookmarks

Built with a focus on correct reading order and clean output, without overcomplicated presets.

✨ Features

  • 📦 Extracts .cbr archives

  • 🖼️ Supports common image formats (JPG, PNG, WEBP, etc.)

  • ✂️ Split horizontal double pages into two vertical pages

  • 📖 Manga (RTL) and Comic (LTR) reading order

  • 🔄 Rotate horizontal pages instead of splitting

  • 📑 Automatically adds PDF bookmarks when chapters are detected

  • 🧹 Optional cleanup of extracted files

  • 🧠 Clear logs and predictable behavior

📦 Installation

pip install cbrtopdf

🔧 System Requirements

The following external tools must be installed on your system:

  • unrar

  • img2pdf

Debian / Ubuntu

sudo apt install unrar img2pdf

🚀 Usage

Basic conversion

cbrtopdf convert comic.cbr

This will generate:

comic.pdf

Metadata

Release files for cbrtopdf 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cbrtopdf 0.1.3
File Size Uploaded
cbrtopdf-0.1.3.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cbrtopdf 0.1.3
File Interpreter ABI Platform
cbrtopdf-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / cbrtopdf-0.1.3.tar.gz

Download URL cbrtopdf-0.1.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f7074856458d850cdec3b24df7dfcd2fcf0a991b15022d2626239e0193af8c38
BLAKE2b-256 checksum
How to use checksums
fe5ad2403c58e18e599948f35d7aa4b141bcd3038880a39a831db9c1f4ed940a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.10.12 Linux/5.15.0-161-generic

Release files / cbrtopdf-0.1.3-py3-none-any.whl

Download URL cbrtopdf-0.1.3-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f22c868198cdbfc04f19ddee901da6f4f68f633aaff1bdbecbcc9c62f03f9dd1
BLAKE2b-256 checksum
How to use checksums
820d85023a15fb2115912801fcfd4aab81b59ab6efcb8254b0fddc4c4c95179d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.10.12 Linux/5.15.0-161-generic

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page