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
V4 :
- Button in the user interface with menu for configuration
- Select the calibre lines and press the button
- Use PyPdf provided in the plugin's zip file
- PNG or JPG option (compression for jpg)
- add option "size" (comics, manga, european) for choose size if not detected (dimension in pixel is not changed, so it's not so important)
- Skips the file if there's no PDF or if a CBR or CBZ file already exists (don't replace)
- Extracts each page in image and places them one image per page in a CBZ file (assuming one image per page).
- add a white page of there is no image in a pdf page
- image's name begin with the 30 first letters of the title (without special character)
- Adds the CBZ file to the calibre file format 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 with progress bar
- Method 2: Processes the files in parallel, still in the main process
- Method 3 : add each conversion to the calibre tasks (need update).
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.