Mobileread
[GUI Plugin] Generate Cover
#11  kovidgoyal 03-05-2011, 03:58 PM
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.
Reply 

#12  kiwidude 03-05-2011, 04:02 PM
Thanks Kovid, I suspected as much but nice to get confirmation
Reply 

#13  Iocane 03-12-2011, 02:22 AM
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!
Reply 

#14  kiwidude 03-12-2011, 04:58 AM
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.
Reply 

#15  DoctorOhh 03-12-2011, 06:44 AM
Quote kiwidude
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.
Font color, just in time.

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?
Reply 

#16  kiwidude 03-12-2011, 10:27 AM
Quote dwanthny
Font color, just in time.
Haha. I am not sure how flexible to make this one. Kovid said there was a stroke and a fill color. Do I need to offer both individually as options or shall I just offer a single color option? Also, is there a need for individual title/author/series colors, or just a single foreground color?

One thing I am going to add is a checkbox for allowing a user to "link" the fonts for title/author/series. So when checked if you want them all the same changing one combo will change the others to match. In theory I could do something similar for text on the cover.

Just got to figure out how to fit everything into the dialog Maybe I should give up on the 3 pane approach, and use 2 panes with the left pane being a tabbed one for all the pages of options and the right an image preview.
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?
I take it you mean the image at the front of the EPUB, in a similar way to how it can be pulled out of a format on the Edit Metadata dialog? I guess in theory it would be possible to do that. Though you would have the same problem it has of needing the user to choose which format to pull the image from if there is one available?
Reply 

#17  Perkin 03-12-2011, 11:28 AM
Quote kiwidude
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.
Nice one.
Reply 

#18  DoctorOhh 03-12-2011, 08:02 PM
Quote kiwidude
Haha. I am not sure how flexible to make this one. Kovid said there was a stroke and a fill color. Do I need to offer both individually as options or shall I just offer a single color option? Also, is there a need for individual title/author/series colors, or just a single foreground color?
A single font color would suffice for me

Quote kiwidude
One thing I am going to add is a checkbox for allowing a user to "link" the fonts for title/author/series. So when checked if you want them all the same changing one combo will change the others to match.
Sounds great.

Quote kiwidude
I take it you mean the image at the front of the EPUB, in a similar way to how it can be pulled out of a format on the Edit Metadata dialog?
Actually I'm just referring to using the cover.jpg that is already in the books directory. I guess I can already do this by drilling down to the correct directory. I have around 200 books that would benefit from the cover generation plugin, it'd be nice to easily select the existing cover as the image to use.
Reply 

#19  kiwidude 03-12-2011, 08:39 PM
Quote dwanthny
Actually I'm just referring to using the cover.jpg that is already in the books directory. I guess I can already do this by drilling down to the correct directory. I have around 200 books that would benefit from the cover generation plugin, it'd be nice to easily select the existing cover as the image to use.
Oh, ok. That would be even easier. I could for instance just force an {Existing Cover} entry in the list of image files. Though you realise it would be a "one shot" thing, in that the cover.jpg will get overwritten with your new generated one as soon as you click ok, right? So if you made a mistake, you will have to either re-download the cover or extract it from the book again?
Reply 

#20  DoctorOhh 03-12-2011, 09:05 PM
Quote kiwidude
Though you realise it would be a "one shot" thing, in that the cover.jpg will get overwritten with your new generated one as soon as you click ok, right? So if you made a mistake, you will have to either re-download the cover or extract it from the book again?
Too true. I would love this and be willing to accept that risk, but many folks would most likely complain after they screwed things up. I think it might be best to leave this option out. I'll just do a save to disk and grab the covers from that directory.

Thanks for listening.

Update: If this was a check-able option and not available by default it might minimize the complaint factor.
Reply 

 « First  « Prev Next »  Last »  (2/65)
Today's Posts | Search this Thread | Login | Register