|
|
#1 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1
Karma: 17644
Join Date: Oct 2025
Device: ipad
|
[GUI Plugin] n-pages-previews
First of all I would like to thank you the author of the calibre and all the people who are involved in app and plugin development.
Here is my plugin for calibre: Short description: Plugin let you generate previews for first N pages of the book that allows quickly preview them. My use case is sorting books children books to quickly judge if it is worth to read it or not. without the need to open the book which is not instantaneous. Description Preview Panel: - Two-column thumbnail grid displays the first N pages of the selected book. - One-click on the toolbar icon shows or hides the docked preview panel; Generate Preview: - Either from menu or from floating toolbar you generate previews for one or multiple books. Storage: Preview images live beside the source PDF in a .previews/ folder, keyed by file path, mtime, page count, width, and quality. Ghostscript-backed conversion creates JPEGs; if Ghostscript is missing, the generator falls back to placeholder images so the UI remains usable. No Calibre database tables are altered; settings stay in plugins/n_pages_previews.json. Configuration Options (Preferences → Plugins → Customize) Installation: In Calibre: Preferences → Plugins → Load plugin from file, pick n-pages-previews.zip, then restart Calibre and add the button to your toolbar or menu. Getting Help |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,626
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
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 7908443
Join Date: Sep 2020
Device: none
|
Cool plugin, thanks.
Preview panel is something I never thought possible in Calibre UI! But I'm getting this either on 7.26 portable or calibre main current version: ✗ Error: Could not find Calibre's ebook-convert binary Last edited by Comfy.n; 11-01-2025 at 10:06 AM. |
|
|
|
|
|
#4 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
|
I didn't know you could make a panel like that either!
It opens up a whole new range of possibilities, so I'll have to think about it. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Count Pages | kiwidude | Plugins | 1877 | 11-10-2025 10:34 AM |
| [GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 04:15 PM |
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |