09-12-2010, 11:20 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
set_metadata and covers
Hi all,
I've looked around for the answer to this and haven't found it, so I thought I'd ask here. Is there a way to set the cover image other than inside the GUI? I've imported a bunch of metadata for my books using set_metadata, and as far as I can see, I'm able to edit pretty much everything about a book using that command. Except the cover. I can't tell it to use a new image for the cover. Am I missing something? Did I not RTFM closely enough? How would I go about doing this? |
09-12-2010, 11:42 PM | #2 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
setting covers via metadata is unsupported for most formats, because most formats dont have covers in their metadata (instead they are part of the main text)
|
Advert | |
|
09-06-2020, 07:00 AM | #3 |
Member
Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
One thing I am suprised, is that if I insert a file jpg or png, it dos not build the cover
|
09-06-2020, 07:17 AM | #4 | |
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Quote:
If you tust insert an image into an book/article etc. in the Calibre Editor it does not know you want it to be the cover. You have to use the Semantics option to mark the image file as being the cover. You will find the "Set Semantics" in the Calibre Editor Tools menu option. |
|
09-06-2020, 10:54 AM | #5 |
Well trained by Cats
Posts: 30,407
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
A 'cover' has 2 distinct properties.
1)It is a separate (HTML) file (A file can only have 1 semantic purpose) 2)The Image (can only be one. Additional Images are just images) is designated as Cover (also a Semantic) |
Advert | |
|
09-11-2020, 03:04 AM | #6 |
Member
Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
thanks very much.
"set semantics" ? I cannot find this option (I have French calibre and I do not see anything that would match it). |
09-11-2020, 03:27 AM | #7 |
Well trained by Cats
Posts: 30,407
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
It is on the Tools menu in the Editor: Looks like Luggage tag
|
09-11-2020, 10:43 AM | #8 |
Evangelist
Posts: 420
Karma: 2737916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
I'm confused. In my "set semantics" panel, there is no "cover" type listed in the "type of semantics" list.
If I right click on the image, an option is to set it as cover image. If I right click on an html file, one option is to mark it as the cover page. So where does the "set semantics" tool come in? |
09-11-2020, 11:29 AM | #9 | |
Well trained by Cats
Posts: 30,407
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
This is only needed for when you CREATE or use a different file name. Replacing previously file with the EXACT same names, need no further action. The flags were in the OPF |
|
09-18-2020, 03:16 AM | #10 |
Member
Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
>It is on the Tools menu in the Editor: Looks like Luggage tag
I really cannot find it. See attachment What do you mean by "the Editor"? |
09-18-2020, 08:22 AM | #11 |
null operator (he/him)
Posts: 20,954
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Towards the right end of toolbar, Purple Book - Editer le Livre
BR |
09-19-2020, 10:59 AM | #12 |
Member
Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
|
ok, thanks.
If I select a book having only JPG format, and I click 'editer le livre', it gives error, saying that only ASW3 or EPUB may be edited. |
09-19-2020, 02:38 PM | #13 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
|
Tags |
cover, set_metadata |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Covers, covers and damn statistics (wait, I got that wrong). | Moejoe | Writers' Corner | 86 | 11-29-2010 08:34 PM |
Accessories New Covers Available | Sydney's Mom | Amazon Kindle | 2 | 08-25-2010 05:24 PM |
generated covers vs "normal" covers | Brandobras | Calibre | 1 | 08-23-2010 11:32 AM |
Covers | sassanik | Interead COOL-ER | 9 | 05-29-2010 02:51 AM |
Command line calibredb set_metadata problem | Nedan | Calibre | 1 | 02-27-2009 08:44 PM |