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 06-19-2012, 09:30 AM   #271
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,128
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by affa View Post
There should be a little zip file somewhere full of people's favorite background images that work well as generic book covers.
I think DrNefario summed it up: 'Not freely distributable'

Unless the Image is GPL, it is best to leave this collecting up to the individual user.
theducks is offline   Reply With Quote
Old 06-20-2012, 03:28 PM   #272
DrNefario
Wizard
DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.
 
DrNefario's Avatar
 
Posts: 1,234
Karma: 3946024
Join Date: Jan 2012
Location: UK
Device: Kindle, Kobo Touch, Nook SimpleTouch
I created the (hopefully) attached image as a test. I seem to have slightly misremembered the default size, too, but the plugin can clear that up. It uses transparency to blend with the background colour, so you can have many variations from the one image.

Feel free to use it as you like.

I'm planning to make several more variants with different patterns and different title text areas. I wasted quite a lot of time today trying to figure out why my transparency wasn't working, only to find that it had been working all along, but Paintshop Pro had decided not to show it. And things are also complicated by the fact that I have no art packages on this machine, with Calibre on it, and no Calibre on my work machine, with the art package. Still, more tomorrow, I hope.

Click image for larger version

Name:	stripes.png
Views:	70
Size:	3.5 KB
ID:	88081
DrNefario is offline   Reply With Quote
Old 06-21-2012, 02:15 AM   #273
affa
Connoisseur
affa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheese
 
Posts: 56
Karma: 1234
Join Date: Apr 2011
Device: kindle
Quote:
Originally Posted by theducks View Post
I think DrNefario summed it up: 'Not freely distributable'

Unless the Image is GPL, it is best to leave this collecting up to the individual user.
true, but there is plenty of GPL clipart... but it's a chore to go through and find ones that look classy and not cartoonish. a cartoony pile of books is of no interest to me, but a beautiful deco, or celtic, or [fill in the blank] border might be.
affa is offline   Reply With Quote
Old 06-21-2012, 10:39 AM   #274
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,128
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by affa View Post
true, but there is plenty of GPL clipart... but it's a chore to go through and find ones that look classy and not cartoonish. a cartoony pile of books is of no interest to me, but a beautiful deco, or celtic, or [fill in the blank] border might be.
Dover (the publisher) has lots of 'Royalty free' clip art books for sale cheap ( lots of Celtic frames in that lot) They also have CD's full of the art (but not quite as cheap)

And I agree, most of the free clipart is cartoon-ish
theducks is offline   Reply With Quote
Old 06-21-2012, 01:55 PM   #275
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 2,308
Karma: 5761596
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PRS-350, Nexus S, Galaxy S, Nook Color, iPhone4, iPT4, iPad 2012
Quote:
Originally Posted by theducks View Post
Unless the Image is GPL, it is best to leave this collecting up to the individual user.
I believe for artwork and the like, "Creative Commons" is usually the license used for freely distributable content. Unfortunately, a lot of them do look cartoonish.

@DrNefario
Would you be able to create something similar to this but with a much smaller left margin? Would be great if the leather grain size could be reduced, too.
http://openclipart.org/detail/95545/...book-by-rg1024

The generic covers iBooks makes are pretty decent, too.
Spoiler:
Attached Thumbnails
Click image for larger version

Name:	ibooks-fanfic.jpg
Views:	686
Size:	555.8 KB
ID:	88146  
ilovejedd is offline   Reply With Quote
Old 06-21-2012, 04:55 PM   #276
DrNefario
Wizard
DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.
 
DrNefario's Avatar
 
Posts: 1,234
Karma: 3946024
Join Date: Jan 2012
Location: UK
Device: Kindle, Kobo Touch, Nook SimpleTouch
I'm no artist, I'm afraid, so it's quite unlikely, but I might give it a go when I have some time.

I like those ones from iBooks. I wonder if there's a way to borrow them.

I now have the pieces to make several more semi-transparent covers like the one above, but I probably won't manage to put them together until the weekend.
DrNefario is offline   Reply With Quote
Old 06-21-2012, 05:44 PM   #277
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 949
Karma: 1351860
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Kindle 3/WiFi Retired:Clie - UX50, T415, ...
Quote:
Originally Posted by ilovejedd View Post
I believe for artwork and the like, "Creative Commons" is usually the license used for freely distributable content. ...
True, but "freely distributable" doesn't mean that they can be altered. Using them for a book cover would be altering the image. Only when the CC work doesn't restrict changes and alterations (the No Derivatives flag) should you use it as a component in a cover. Also, CC works often require that give the creator credit for the work (the Attribution flag in the CC license).
dwig is offline   Reply With Quote
Old 06-21-2012, 05:56 PM   #278
affa
Connoisseur
affa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheese
 
Posts: 56
Karma: 1234
Join Date: Apr 2011
Device: kindle
most things can be altered for personal use, but i agree it wouldn't be able to be part of any collection. i grabbed a nice greyscale textbook style illustration of an animal i like, and use that. it looks good. anyway, sorry i sort of derailed this thread. though i suppose talking about the generic covers we get to use THANKS to this awesome plugin is sort of on topic.
affa is offline   Reply With Quote
Old 06-23-2012, 10:21 AM   #279
DrNefario
Wizard
DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.
 
DrNefario's Avatar
 
Posts: 1,234
Karma: 3946024
Join Date: Jan 2012
Location: UK
Device: Kindle, Kobo Touch, Nook SimpleTouch
I've put together a set of covers based on semi-transparent textures. I'm not brilliantly happy with them, but some of them seem to work quite nicely.

The file's about 3Mb (mostly due to one of the four textures compressing much less well than the others, but it's probably the nicest one, so I left it in), and it's available from my Dropbox here: https://dl.dropbox.com/u/39906743/covers.zip

They can be freely used, redistributed, changed, sold (good luck with that), whatever you want.

Here are a few examples of how they blend with the background colour:

Click image for larger version

Name:	wiw_cover.jpg
Views:	118
Size:	122.0 KB
ID:	88227Click image for larger version

Name:	md_cover.jpg
Views:	129
Size:	148.3 KB
ID:	88226Click image for larger version

Name:	aoi_cover.jpg
Views:	107
Size:	63.6 KB
ID:	88225
DrNefario is offline   Reply With Quote
Old 06-24-2012, 12:27 AM   #280
affa
Connoisseur
affa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheese
 
Posts: 56
Karma: 1234
Join Date: Apr 2011
Device: kindle
very nice!
affa is offline   Reply With Quote
Old 07-04-2012, 02:57 PM   #281
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: 35,985
Karma: 17083916
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by DrNefario View Post
I've put together a set of covers based on semi-transparent textures. I'm not brilliantly happy with them, but some of them seem to work quite nicely.

The file's about 3Mb (mostly due to one of the four textures compressing much less well than the others, but it's probably the nicest one, so I left it in), and it's available from my Dropbox here: https://dl.dropbox.com/u/39906743/covers.zip

They can be freely used, redistributed, changed, sold (good luck with that), whatever you want.

Here are a few examples of how they blend with the background colour:

Attachment 88227Attachment 88226Attachment 88225
The cover for Woman in White is a bit harsh. They other two, not bad.
JSWolf is offline   Reply With Quote
Old 07-05-2012, 02:04 AM   #282
44reader
Connoisseur
44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese44reader can extract oil from cheese
 
44reader's Avatar
 
Posts: 61
Karma: 1234
Join Date: Jun 2012
Device: none
@DrNefario

Thanks for those covers.
44reader is offline   Reply With Quote
Old 07-06-2012, 02:25 AM   #283
Jade Aislin
Groupie
Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.
 
Posts: 150
Karma: 3100
Join Date: Sep 2011
Device: Acer Iconia 500w Tablet, PRS-T1
I have finally gotten around to playing with this plugin. I've been able to generate a cover that has all the metadata I want on it. However, I noticed that if I include a space for data from a custom column in the custom text section, it will show up on the cover even if the book does not have that data. Is there a way to have that information not show up on the cover if there is no metadata in the column?

For example, in the attached picture there are two fields that do not have data (Warning and Genre). Is there some code I can put at the beginning of those lines so that they will not show up with empty fields? I want it to be like the series check mark. If it is there, it will show up on the cover, if it is not there, the entire line will not show up.

I'm probably missing some easy step.

- Jade Aislin
Attached Thumbnails
Click image for larger version

Name:	empty data.jpg
Views:	96
Size:	121.5 KB
ID:	88762  
Jade Aislin is offline   Reply With Quote
Old 07-06-2012, 03:19 AM   #284
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,223
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Jade, I am sure there is an answer within the template language syntax, using some variant of: {#warning:ifempty(x,'')}. What the x is is to concatenate the word "Warning " and $ for the current value is I have no idea, I've never grokked the template syntax. Perhaps chaley or another template language guru will spot this and can help. As per not so far back in this thread you can add newline characters into the x part of your expression with \n.
kiwidude is offline   Reply With Quote
Old 07-06-2012, 10:22 AM   #285
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 4,929
Karma: 802238
Join Date: Jan 2010
Location: France
Device: Many android devices
The easiest way to handle this situation is to use a prefix in the template. The prefix is added only if the field is not empty. For example, warning would be
Code:
{#warnings:|Warning: |}
and genre would be
Code:
{#genre:|Genre: |}
for more explanation, see Advanced formatting in the user manual.

Of course, it could be done with the test function. For example, the following examples in template program mode and general program mode work. However, unless the computation is more complicated than strcat, it isn't worth the trouble.
Code:
{#warnings:'test($, strcat('Warning: ', $), '')'}
or
Code:
program:
	v = field('#warnings');
	test(v, strcat('Warning: ', v), '')
chaley 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] Open With kiwidude Plugins 223 07-09-2014 02:42 AM
[GUI Plugin] Goodreads Sync kiwidude Plugins 650 06-09-2014 03:55 PM
[GUI Plugin] User Category kiwidude Plugins 33 05-04-2014 05:47 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 28 04-23-2014 05:24 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 4 09-11-2011 06:14 AM


All times are GMT -4. The time now is 02:26 AM.


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