09-21-2013, 03:02 PM | #436 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2013
Device: kobo glo
|
Is it possible to have a custom resizing of the image? All the imported jpgs are shown at the same size on the generated cover.
I do not want the imported image to "Stretch image to use as cover background", I just would like to make the image a bigger size than the default. thanks, A |
09-23-2013, 01:06 PM | #437 | |
Bujavid tekikin
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Quote:
|
|
Advert | |
|
09-24-2013, 05:04 PM | #438 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.5.13 released
Changes in this release:
|
09-25-2013, 01:52 PM | #439 |
Member
Posts: 15
Karma: 10
Join Date: Dec 2012
Device: NST
|
This work only in "custom text" and "other options", but not in "metadata" field title and author.
Last edited by oteksamptis; 09-25-2013 at 01:55 PM. |
09-27-2013, 04:58 PM | #440 |
Enthusiast
Posts: 27
Karma: 10
Join Date: May 2012
Device: iPad
|
There are some things which calibre just cannot do when dealing with cover images and captions. For that you need to get outside of calibre and look at the ImageMagick suite of tools, in particular the 'convert' program and its caption tag. which has been tweaked in recent revisions to properly wrap a long title line, into a display box (rather than overhanging at each end). Best yet, this can be done with variable scripting, so doing 3750 covers is as difficult as doing one. Just push 'GO' and go for coffee!
I needed/wanted 3 sections to the cover image title, and a publisher banner. The bash code looks something like this. echo $line1 > "${captionfile}" # Investment abd Lending activities.... echo $line2 >> "${captionfile}" # O.Reg. 122/08 echo $line3 >> "${captionfile}" # Insurance Act #captionfile has three lines in it label="${captionfile}" # so $label is the name of the file: caption will deal with each line in order # the main work is done here # lt.png is the background image on which the titles will appear rm -f label1.png rm -f label2.png rm -f output1.png rm -f output2.jpg # create title overlay convert -background black -transparent black -font "Liberation-Serif" -pointsize 36 -fill "dark blue" -size 720x440 -gravity center caption:@"${label}" label1.png # then create publish-banner overlay image convert -background black -transparent black -font "Liberation-Serif" -pointsize 36 -fill "dark blue" -size 760x80 -gravity center caption:'MANDAMUS PUBLISHING INC.' label2.png # compose first overlay composite -geometry +35 label1.png lt.png -blend 99 output1.png # add second overlay to the first -> cover image composite -geometry +20+900 label2.png output1.png -blend 99 output2.jpg # and output2.jpg is your cover image to be used with ebook-convert --cover output2.jog convert can also re-size images See the sample jpg attached, It has a long first line which is wrapped and balanced in the 'write-box' which I note is actually not quite centered! |
Advert | |
|
09-28-2013, 04:41 PM | #441 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
It has always worked for Custom text. I added the ability to also do it in that same tab in the Metadata section for Title, Author and Series. Title and Series are working perfectly fine for me, however I will concede that Author is not which I forgot to actually do. I will fix that shortly.
|
09-28-2013, 04:47 PM | #442 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.5.14 released
Changes in this release:
|
09-30-2013, 02:26 PM | #443 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Hi Kiwidude,
is there a way to cirkumwent the gaps between the lines caused by the usage of \n or <br>? |
09-30-2013, 06:22 PM | #444 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
|
10-06-2013, 06:41 PM | #445 |
null operator (he/him)
Posts: 20,556
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Can I suggest a brief note be added to the Contents tab to remind users that Custom Text can include other columns via a template.
I probably knew this at one time, but I forgot and... BR Last edited by BetterRed; 10-06-2013 at 07:10 PM. |
10-11-2013, 07:10 PM | #446 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Jul 2013
Device: Nook Simple Touch Glowlight
|
Hi!
I've been using this plugin in successfully for months, but I updated calibre today (*big* mistake) and now everytime I click on it, the following error arises: Quote:
|
|
10-11-2013, 07:32 PM | #447 | |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I just tried it, it (1.5.14) works fine on 1.6 (Win 64) |
|
10-11-2013, 09:43 PM | #448 |
null operator (he/him)
Posts: 20,556
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
10-12-2013, 08:20 AM | #449 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Jul 2013
Device: Nook Simple Touch Glowlight
|
|
10-12-2013, 09:49 AM | #450 |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
GC has user settings stored in the: <configuration folder>\plugins\Generate Cover.json
and saved images are stored in the <configuration folder>\calibre\resources\images\generate_cover folder in case there was a damaged image You might try a (temporary) rename of the Json file (with Calibre shut down first). All you would lose is your cover template |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1721 | Yesterday 10:22 AM |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] User Category | kiwidude | Plugins | 123 | 03-16-2024 11:59 PM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |