Hello,
i post (but in plugin section, sorry) my plugin to convert pdf to cbz.
here :
https://www.mobileread.com/forums/sh...d.php?t=370277
i updated a little :
- Button in the user interface with menu for configuration
- Select the calibre files and press the button
- Use pymupdf/fitz provided in the plugin's zip file
- PNG or JPG option (compression 95 for jpg)
- Skips the file if there's no PDF or if a CBR or CBZ file already exists
- Extracts each image from each page and places them one image per page in a CBZ file (assuming one image per page).
- image's name begin with the 20 first lettre of the title (without special caracter)
- Adds the CBZ file to the calibre file in the PDF as another format
- if the dimension is higher than 30cm the dpi is adjust to fit in 30 cm without changing resolution.
In the options, you can choose the conversion method:
- Method 1: Processes each file one after the other in the main process
- Method 2: Processes the files in parallel, still in the main process
- Method 3 : add each conversion to the calibre tasks.
If you have a problem, switch to debugger mode and give me the calibre-debud-log.txt file (entry starting with pdftocbz: ).
Be careful, the png version can be very large.
test and give me bug or thing to adjust.