if you have problem (linux or mac, arm or x86), test V3 and v2
V4 :
- add a progress bar in method 1
- bug : add a white image if there is no image on a pdf page (and don't crash)
V3 :
- replace pymupdf by pypdf in pure python so less compatibility problem
- add compression option 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)
- replace some french by english
V2 :
- put all pymupdf whl in zip for compatibility (win, linux, mac, arm, x86_64 ) but the zip will be bigger. he detect the system and extract the good one
link V2
if someone can test before I put in release version ?
work in progress :
- detect size of pdf (in inch or cm) to fix dpi
- better handling task
- add translation if someone want
V1
- 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.
add v1 in attachment here to keep history