Turn a comic book archive (
.cbz, .cbr, .cb7, .cbt) or an archive of images into a PDF with one page per image, from SumatraPDF or from the command line.Available in pre-release 3.7
Open the
.cbz and use File → Convert to PDF… to get one PDF with every page. At a glance:- In SumatraPDF: Convert to PDF… (
CmdConvertToPDF) — all pages to one PDF. - Command line:
sumatrapdf-tool convert -O compress -o book.pdf comic.cbz
Convert in SumatraPDF #
- Open the comic (see Comics and manga).
- Start Convert to PDF… in any of these ways:
- File → Convert to PDF…
- Right-click the document → Document → Convert to PDF…
Ctrl + K,Convert To PDFin Command Palette
- A dialog shows the source path and a suggested destination:
- Default path is the same location and base name with a
.pdfextension. - If that file already exists, the name is made unique (e.g.
book.1.pdf). - Edit the path in the text field, or use … to browse.
- Default path is the same location and base name with a
- Click Convert to PDF. On success the new PDF is written and opened in SumatraPDF. On failure you get a short error dialog.
Press Esc or Cancel to close the dialog without converting.
What can be converted:
| Source | Examples |
|---|---|
| Comic book archives | .cbz, .cbr, .cbt, .cb7, .ora |
| Archives of images | .zip, .rar, .7z, .tar that contain images |
JPEG and PNG pages are embedded as-is, other image formats are losslessly re-encoded; see how images are stored in the PDF.
Convert from the command line #
Use
sumatrapdf-tool.exe convert, or SumatraPDF.exe convert with the same arguments:sumatrapdf-tool convert -O compress -o book.pdf comic.cbz
- Works for
.cbz,.cb7and.cbt. -O compresscompresses the image data. Without it PNG pages are stored uncompressed and the PDF gets much bigger. JPEG pages are always embedded as-is.- Add a page range to convert only part of the comic:
sumatrapdf-tool convert -O compress -o chapter1.pdf comic.cbz 1-24
More options: sumatrapdf-tool convert.
See also #
- Comics and manga — opening and reading comics
- Convert images to PDF
- Convert PDF to images — the reverse direction
- sumatrapdf-tool convert
- All cmd-line tools