|
|
#1 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
[GUI Plugin] Generate Cover
This plugin offers an enhanced alternative that allows you to select from your own choice of cover images and a wide range of layout/appearance options. Main Features of v1.5.12:
Special Notes:
Installation Steps:
Paypal Donations:
Sample Cover Settings:
Version History: Spoiler:
Last edited by kiwidude; 05-04-2013 at 10:18 AM. Reason: v1.5.12 Released |
|
|
|
|
|
#2 |
|
Member
![]() Posts: 20
Karma: 10
Join Date: Jul 2009
Device: Kindle2
|
Simply great. You're becoming the plugin king!
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,302
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Thanks for this plugin.
The only thing I noticed was not being able to see all 3 numbers in the cover width and height dimensions (see attached). This might be due to using increased font sizes but this is the only area of calibre that limits me in this way.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#4 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
v1.0.1 Released
Oops, thats a pretty ugly screen layout dwanthy! I've pushed up a new version now. I had been through a lot of variations of layout as this was developed and I thought of new customisations, and I'd left some rather crude sizing code in there. The new version should hopefully address your issues.
Let me know how you get on - now I've figured out what to do I'll make sure I don't make the same mistake in my other plugins again. |
|
|
|
|
|
#5 | |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,302
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Quote:
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
|
#6 |
|
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,169
Karma: 58793
Join Date: Mar 2009
Device: iPad
|
Attempting to customize the plugin yields the following error:
Code:
Traceback (most recent call last):
File "/Users/griker/Documents/calibredev/calibre/src/calibre/gui2/preferences/plugins.py", line 260, in customize_plugin
self.modify_plugin(op='customize')
File "/Users/griker/Documents/calibredev/calibre/src/calibre/gui2/preferences/plugins.py", line 319, in modify_plugin
if not plugin.is_customizable():
File "/Users/griker/Documents/calibredev/calibre/src/calibre/customize/__init__.py", line 248, in is_customizable
self.customization_help()
File "<string>", line 59, in customization_help
AttributeError: 'GenerateCoverBase' object has no attribute 'customization_help'
![]() G |
|
|
|
|
|
#7 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
v1.0.2 Released
I've done so many plugins now that have customisation via Preferences I clearly screwed up the situation for a plugin that doesn't and didn't rip out enough code
![]() New version attached to the first post. |
|
|
|
|
|
#8 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 551
Karma: 23783
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300
|
Thanks kiwidude.
|
|
|
|
|
|
#9 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 551
Karma: 23783
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300
|
A couple of tweaks...
![]() Can you do it so you can select the Font colour And allow the image to be the whole background, I've got some nice leather look covers and would like the whole cover to be that, not just an inset image. |
|
|
|
|
|
#10 | |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Quote:
There is a bit of a dependency between them, since unless you have a light background you are going to want the text color changed. However I haven't figured out how to change the color since I can't find any code in Calibre related to this in the Magick libraries. I suspect it is something to do with a DrawingWand but it is yet another library I have no knowledge of. I'll ask in the developer forum here if Kovid doesn't spot this post and reply here. |
|
|
|
|
|
|
#11 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,469
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Changing text color would require additional APIs from ImageMagick to be wrapped in python, IIRC it can't be done with the currently available API.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#12 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Thanks Kovid, I suspected as much but nice to get confirmation
|
|
|
|
|
|
#13 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 1162
Join Date: Mar 2011
Device: Sony PRS-600
|
First, I want to say brilliant plugin. This and Search the Internet have both become features I can't live without!
I do have one question -- Is it possible to store multiple settings? For example, I've mostly been generating covers in two cases: 1) Books with ... unfortunate covers. Either very small, poor quality, or just dull, and I'd like to have something a bit nicer. 2) Short stories from anthologies. When I have anthologies, I like to have each story as its own entry, as well as the full anthology itself. Ideally, I'd like to use different settings for each kind of cover. Like using Times Roman font, and a blue background for the book covers, and using Tahoma with a green background for the short stories, and being able to switch easily between the two. I know very little about coding so I'm not sure how tricky this would be, though. Keep up the great work! |
|
|
|
|
|
#14 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Thanks for the feedback and glad it has become useful to you.
Funnily enough something like what you suggest did occur to me when I wrote it. However I chose not to put it into 1.0 to see if anyone felt a need for it first, a bit like the suggestions from Perkin above. My interim approach was to allow the user to overwrite the default settings, so that gave you one set stored, plus a second temporarily being used. However I think the addition of the ability to save the settings as a named set would be the more flexible approach. So if you like a particular font/image for your science fiction books versus another combination for romance etc you could configure that up and then just choose from a list on the left side of the dialog. I'll add it to the list for v1.1. Kovid has kindly made some additions to the API with 0.7.49 to allow me to set font color so I will be adding Perkin's suggestions as well. |
|
|
|
|
|
#15 | |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,302
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Quote:
![]() Is there the possibility of using a books existing cover as the image, resizing it and using it as the image for a modified book cover?
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Goodreads Sync | kiwidude | Plugins | 542 | 05-09-2013 11:52 AM |
| [GUI Plugin] Open With | kiwidude | Plugins | 183 | 04-22-2013 02:25 PM |
| [GUI Plugin] User Category | kiwidude | Plugins | 32 | 04-20-2013 10:19 AM |
| [GUI Plugin] Quick Preferences | kiwidude | Plugins | 20 | 11-05-2012 06:40 PM |
| [GUI Plugin] Clipboard Search | kiwidude | Plugins | 4 | 09-11-2011 06:14 AM |