![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2025
Device: android
|
[convert] pdf2cbz
hello,
i begin to write a plug in for convert pdf to cbz. i have tried lot of method but don't find methode to convert pdf to image. i try calibre.ebooks.pdf.pdftoimage.pdf_to_images calibre.ebooks.pdf.render.pdf_to_images calibre.ebooks.pdf.image_writer.PDFImageWriter calibre.ebooks.conversion.cli.convert calibre.ebooks.conversion.plumber.Plumber calibre.ebooks.pdf.reader.PDFDocument calibre.ebooks.pdf.render.render_page Calibre2\app\bin\pdftoppm.exe fritz if i convert pdf to zip in calibre, calibre convert to html and image, but the zip is good for cbz (after rename) so , it's possible. have you idea ? official method ? thank you |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,553
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre includes pdftoppm use that.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2025
Device: android
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,553
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A timeout where? Obviously pdftoppm will be slow as it actually renders the pdf pages, what you really need is a utility to extract images from the PDF. calibre doesnt ship one however.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2025
Device: android
|
Quote:
and i use it in a subprocess (popen or run) proc = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True ) the plug in "pdf input" extract image to make a html and a zip, so calibre can do it . the pdf are just image without text, a comic book and i want to extract image. |
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2025
Device: android
|
i look for a faster tool !
|
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,937
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
This one has worked for me ==>> GitHub - r45635/pdf-to-cbz-converter
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please don't downscale or convert my images, ebook-convert ! | nylnook | Conversion | 3 | 02-11-2016 06:08 AM |
To convert or not to convert - PDF | marmistrz | Workshop | 7 | 06-20-2013 12:03 PM |
How to batch-convert with ebook-convert? | cypresstwist | Conversion | 8 | 02-22-2011 09:28 AM |