Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 11:22 AM   #1
shizen
Member
shizen began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: android
Post [plugin][convert pdf to cbz] in menu bar

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.
Attached Files
File Type: zip PDFtoCBZ.zip (37.68 MB, 3 views)
shizen is offline   Reply With Quote
Old Today, 11:23 AM   #2
shizen
Member
shizen began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: android
post reserved
shizen is offline   Reply With Quote
Advert
Old Today, 11:33 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,224
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Plugins is the correct place for this. Relocated.
theducks is offline   Reply With Quote
Old Today, 11:42 AM   #4
shizen
Member
shizen began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: android
Quote:
Originally Posted by theducks View Post
Plugins is the correct place for this. Relocated.
thanks, i have post in plugin but i have read, i must post in development but i have right, the first time !

all good !
shizen is offline   Reply With Quote
Reply

Tags
cbz, comics, pdf


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to toggle menu bar on bookfighter Editor 3 11-19-2024 01:18 PM
Menu Bar Not Showing KyBunnies Calibre 22 07-10-2018 08:13 PM
Oasis 1- no menu bar? No restart either. badgoodDeb Amazon Kindle 2 01-13-2018 12:58 PM
How to get back my menu bar? mattsh Calibre 1 07-12-2017 08:32 AM
ezpdf hide menu bar gorak Android Devices 4 11-16-2014 08:17 PM


All times are GMT -4. The time now is 04:45 PM.


MobileRead.com is a privately owned, operated and funded community.