Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-12-2015, 12:18 PM   #1
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
[GUI Plugin] Prettify Cover



Prettify
Cover


Scale book-covers proportional to the full screen of your e-reader.
The calibre cover-grid looks even better with all cover-images in the same size.

Scaling book-covers proportional usually adds an empty margin.
With „Prettify Cover“ you can choose how to align the image and how to fill the margin:
  • Black
  • White
  • Custom color
  • Cut-out method:
    (Scaling the smallest side of the image to fit the e-reader full screen.)

Usage:
  • Add „Prettify Cover“ to your toolbar. (Preferences > Toolbars. )
  • Click the arrow next to the „Prettify Cover“ icon in the toolbar and set the default resolution.
  • Select one or more books and click the „Prettify Cover“ icon
  • Choose the best cover by clicking the image

Now you've generated the new book-cover for calibre, only.

If you want this new cover in your ebook (epub, etc.) use the plug-in „Polish Book“ and make sure the option „update the cover in the book files“ is checked.
Click OK and upload the ebook with the new cover to your e-reader.

Installation Steps:

Download the attached zip file and install the plugin/add to context menu or toolbar/restart Calibre as described in the Introduction to plugins thread.

Paypal Donations:

Feel free to show your appreciation if you like this plug-in



Version History:

Spoiler:

Version 1.6.0 - 2022-07-26
- fixes for calibre 6/qt6
- removed gimp related features

Version 1.5.0 - 2020-04-25
- fixes for calibre 5.0 (python 3 upgrade)

Version 1.0.6 - 2019-12-12
- fixes registry bug

Version 1.0.5 - 2019-12-11
- (win) detect custom gimp installation path using registry
- (win) detect national geographics script installed in %appdata%

Version 1.0.2 - 2019-10-24
- fixes string bug

Version 1.0.1 - 2019-10-23
- fixes version string

Version 1.0.0 - 2019-10-23
- fixes for Calibre 4.x
- QWebPage, QWebView depreciation fix.
Removed internal html help dialog -
Help btn opens mobileread webpage in browser.

Version 0.9.12 - 2017-08-20
- NG Filter (National Geographics) available on Windows version

Version 0.9.11 - 2017-08-13
- bugfix for windows version

Version 0.9.10 - 2017-08-06
- GIMP fixes for Calibre 3.x

Version 0.9.9 - 2017-05-17
- windows bugfix release
- added version number in dialog title

Version 0.9.8 - 2017-04-17
- responsive ui. only show features (GIMP) that are available.
- code cosmetics (PEP 8 styleguide) and minor changes.
- new button to apply GIMP's National Geographic filter (linux only).
(can improve the cover visibilty on 16 color b/w devices.)

Version 0.9.7 - 2016-09-14
- add: GIMP button to edit the content-aware cover.
- bugfix: alignment buttons, when changing cover format in GIMP session.

Version 0.9.6 - 2016-08-22
- now you can edit the original cover with GIMP (mac is not supported, yet)
- improved GUI

Version 0.9.5 - 2016-03-24
- added easteregg feature ctrl+click image to show fullsize cover

Version 0.9.4 - 2016-01-11
- bugfix: cover generation with custom color from colorpicker didn't work

Version 0.9.3 - 2015-12-17
- added color palette widget with a colorpicker.
"most used color" groupbox is renamed to "custom color"
on start it's still set to the most used color.
open the widget by clicking the button labeled "change color"
- alignment buttons show current state
- timeout period for content-aware background rendering has been increased
from 99 to 120sec (some covers took more than 99sec on my end)
- moved help button below content-aware options
- updated help
- optimized code

Version 0.9.2 - 2015-12-07
- fixed the content-aware bg. preview.
it didn't match the final result because a thumbnail was rendererd for the preview.
now the full-size cover is processed for the preview and scaled down to thumbnail size.
the preview operation takes longer (approx. 30sec) but there is no more rendering done when choosing the cover.
- reduced thumbnail height. dialog was to large and some btns unavailable for monitors with 768px height
- Cut-out image preview starts centered
- updated german and english help files
- abbreviated, renamed and simplified text labels to better fit in UI
- optimized code

Version 0.9.1 - 2015-11-26
- renamed "Oversized" image preview to "Cut-Out"
- added alignment buttons for (now) cut-out image option

Version 0.9.0 - 2015-11-16
- add german translation
- more status dialogs
- support for GIMP 2.6 and higher on win
- add abort button to progress dialog
- updated help
- add timeout for GIMP operations
(thumbnail 33s, cover 99s)

Version 0.8.0 - 2015-11-12
Public release
Attached Thumbnails
Click image for larger version

Name:	win_shot0.png
Views:	2487
Size:	270.8 KB
ID:	156218   Click image for larger version

Name:	linux_shot0.png
Views:	1906
Size:	293.3 KB
ID:	156220  
Attached Images
 
Attached Files
File Type: zip Prettify_Cover_1.6.0.zip (133.4 KB, 30522 views)

Last edited by m1d1; 07-26-2022 at 03:09 PM. Reason: release version v1.6.0
m1d1 is offline   Reply With Quote
Old 11-18-2015, 02:54 PM   #2
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.0
m1d1 is offline   Reply With Quote
Old 11-26-2015, 01:44 PM   #3
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.1

Last edited by m1d1; 12-07-2015 at 09:09 AM.
m1d1 is offline   Reply With Quote
Old 12-07-2015, 09:08 AM   #4
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.2
m1d1 is offline   Reply With Quote
Old 12-07-2015, 09:23 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,841
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
What's new in the new versions?
JSWolf is offline   Reply With Quote
Old 12-07-2015, 09:30 AM   #6
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
Just open the "Version History" spoiler.
m1d1 is offline   Reply With Quote
Old 12-17-2015, 12:37 PM   #7
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.3
m1d1 is offline   Reply With Quote
Old 01-11-2016, 10:13 AM   #8
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.4
- bugfix: cover generation with custom color from colorpicker didn't work
m1d1 is offline   Reply With Quote
Old 03-24-2016, 12:12 PM   #9
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.5
- added ctrl+click for preview image to view it in fullsize
m1d1 is offline   Reply With Quote
Old 08-22-2016, 12:31 PM   #10
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.6

  • now you can edit the original cover with GIMP (mac is not supported, yet)
  • improved GUI

(If you want the new GIMP edit feature for Mac and you're willing to help. Contact me here with a PM)
m1d1 is offline   Reply With Quote
Old 09-15-2016, 12:49 PM   #11
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.7

  • New GIMP button to edit the content-aware cover.
  • bugfix: alignment buttons, when changing cover format in GIMP session.
m1d1 is offline   Reply With Quote
Old 04-17-2017, 06:00 AM   #12
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.8

  • responsive ui. only show features (GIMP) that are available.
  • code cosmetics (PEP 8 styleguide) and minor changes.
  • new button to apply GIMP's "National Geographic" filter (linux only).
    (can improve the cover visibilty on 16 color b/w devices.)
    http://registry.gimp.org/node/9592
m1d1 is offline   Reply With Quote
Old 05-19-2017, 01:00 PM   #13
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
released version 0.9.9

  • windows bugfix release
  • added version number in dialog title
m1d1 is offline   Reply With Quote
Old 06-27-2017, 10:30 PM   #14
MrKobayashi
Junior Member
MrKobayashi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2017
Device: KT3
I tried to use this plugin but I keep getting the same error.

Quote:
calibre, version 3.1.1
ERROR: Excepción no considerada: <b>AttributeError</b>:'CoverOptionsDialog' object has no attribute 'gimp_opt1'

calibre 3.1.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.15063-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.15063')
Python 2.7.12+
Windows: ('10', '10.0.15063', 'SP0', u'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: Prettify Cover (0, 9, 9)
Traceback (most recent call last):
File "calibre_plugins.prettify_cover.action", line 181, in prettify_covers
AttributeError: 'CoverOptionsDialog' object has no attribute 'gimp_opt1'
I also got it on OS X. Same version 3.1.1 and 0.9.9

Quote:
calibre, version 3.1.1
ERROR: Unhandled exception: <b>AttributeError</b>:'CoverOptionsDialog' object has no attribute 'gimp_opt1'

calibre 3.1.1 embedded-python: True is64bit: True
Darwin-16.6.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '16.6.0', 'Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64')
Python 2.7.12
OSX: ('10.12.5', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: Kindle covers (G) (0, 3, 0) && Goodreads (1, 1, 12) && Prettify Cover (0, 9, 9)
Traceback (most recent call last):
File "calibre_plugins.prettify_cover.action", line 181, in prettify_covers
AttributeError: 'CoverOptionsDialog' object has no attribute 'gimp_opt1'

Last edited by MrKobayashi; 06-27-2017 at 10:58 PM.
MrKobayashi is offline   Reply With Quote
Old 06-30-2017, 05:32 AM   #15
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
Quote:
Originally Posted by MrKobayashi View Post
I tried to use this plugin but I keep getting the same error.



I also got it on OS X. Same version 3.1.1 and 0.9.9

Thanks for your bugreport.
I will upgrade "prettify cover" for calibre version 3.x in the next 3-4 weeks. For the time beeing downgrade to calibre 2.8.5 (last 2.x version) if you want to use the gimp features... (afaik all features are working in 3.x only the gimp features don't)
m1d1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Resize Cover kiwidude Plugins 95 03-16-2024 11:55 PM
[GUI Plugin] Generate Cover kiwidude Plugins 811 03-16-2024 11:31 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[GUI Plugin] Hyphenate This! bookbinder Plugins 0 05-06-2015 01:07 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 08:15 AM.


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