View Single Post
Old 11-01-2025, 12:57 AM   #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: 45,628
Karma: 28549046
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 online now   Reply With Quote