View Single Post
Old 10-31-2025, 11:57 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,070
Karma: 29579912
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Note that you dont need to rely on ghostscipt, calibre already contains code to render PDF files (this is how the functionality to view the first 10 pages of a PDF to select the cover is implemented). See the page_images() function in metadata/pdf.py
kovidgoyal is offline   Reply With Quote