![]() |
#16 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, the double covers I suspect would come from a lack of properly-defined covers, so it needn't matter what the Add settings are.
|
![]() |
![]() |
![]() |
#18 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
If the cover is extracted using the book icon/set from file options and it pulls the first image as the cover, Calibre will then add a cover.xhtml page and a second copy of the first image now renamed cover.jpg to the book file. Both before and after Send To Device or Modify Epub it will show duplicate copies of that image in the book file. For my purposes that's usually not an issue but for others where the image is already showing on the first page, then yeah, it's probably an issue.
|
![]() |
![]() |
![]() |
#19 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If you have the Read metadata from file contents rather than the file name setting unchecked (ie get metadata from file name) then calibre will not extract the cover. I think it's been that way since I started using calibre 3 years or more since.
I've often wondered why there wasn't an option to always extract the cover from the format given there's no way of putting the cover image in the file name Not sure if its been said - the extract from format is available in bulk, if you mark the books you add then as long as the marks remain, you can show all marked books, and apply the extract cover to them in bulk. BR |
![]() |
![]() |
![]() |
#20 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
It certainly doesn't update the copy in the library when you use Download Cover. |
|
![]() |
![]() |
![]() |
#21 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() Extract a book cover from a format file in Metadata Edit (single or bulk) does not modify the format file. BR |
|
![]() |
![]() |
![]() |
#22 | ||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#23 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I suspect his prolix proclivities got the better of him :lol: What he wanted to say, I'd wager, is that the 'extract cover feature' will pull the 'first image' if there is no 'cover image' and write that to cover.jpg in the book folder. Then, when a later event, such as polish, modify, send to device etc occurs, that will inject the cover.jpg into the book as 'cover image'. As a result one would have the 'cover image' and the 'first image' in the format file. BR |
|
![]() |
![]() |
![]() |
#24 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Perhaps, but it certainly came out as a definitive "calibre will eat your books for lunch if you use this feature".
![]() |
![]() |
![]() |
![]() |
#25 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You (at least many folk) do NOT want a cover in the Library being stomped by the one from the book. BTW Auto_add does pull any metadata and cover (if you do not have read from filename) |
|
![]() |
![]() |
![]() |
#26 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
I meant exactly what I wrote, the only question being if I'm interpreting what I'm seeing when I open Edit Book correctly.
If I select a book that I've used either the brown book icon or the bulk edit option to check for a cover and it has one, then press T for Edit Book, inside I find a cover.xhtml page listed under the text section along with titlepage and file0001, and in the images section there's a cover.jpg and at least one other image file. If I view the book I'll see what was set as the cover at the beginning and then somewhere later in the file, not always the next page, I'll find a duplicate of the cover image. Then if I click Embed Metadata, I don't have the Modify Epub PI installed on this computer, when I open it up in Edit Book again the cover.xhtml and cover.jpg are still there along with the original copy of the cover image under its original name. And if I view the book I see the image at the beginning and then later in the book where it was originally located. So unless that first image was already being listed as the original filename and cover.jpg with a cover.xhtml file, in which case why didn't Calibre show that it had a cover image, then it's making the change to the files. Unfortunately I don't know if those files were there before or after I hit the button because I've already run them all through the bulk edit for the cover file but I'm still working on the other metadata. Which is why I know they haven't had the metadata embedded yet. I haven't used Send To Device, Embed Metadata or Modify EPUB on them yet. |
![]() |
![]() |
![]() |
#27 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Edit Book will embed the metadata from the library automatically. There is an option to disable that.
|
![]() |
![]() |
![]() |
#28 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
to be clear about covers in EPUB (what the brown book also uses) 2 things must be met in the content.opf 1) the (coverpage) file must be declared as the 'cover' in the guide section (set using semantics) 2) the Image file used on the cover must have an id='cover' and a media-type="image/,imagetype>" |
|
![]() |
![]() |
![]() |
#29 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,733
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() As eschwartz tell us: Quote:
BR |
||
![]() |
![]() |
![]() |
#30 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75
Karma: 77598
Join Date: Apr 2010
Device: Sony PRS-650, Hanvon h516, Kobo Aura HD
|
This is the XML from the first file from one of the books:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Horse Under Water</title> <link href="default.css" rel="stylesheet" type="text/css"/> </head> <body> <p id="cover" class="sercov" style="margin:0;"><img src="images/cover.jpg" alt="cover"/></p> </body> </html> |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre & Covers: Adding books through Calibre vs dragging and dropping? | VirgoGirl | Calibre | 12 | 06-08-2014 05:34 AM |
New ePubs have no covers in Calibre | snarkophilus | Calibre | 2 | 03-23-2013 08:23 AM |
Calibre 0.9.4 with paperwhite - still not getting covers! | Morf | Devices | 4 | 11-03-2012 09:12 AM |
Calibre covers | LisaRealWriter | Calibre | 0 | 01-21-2012 08:30 PM |
Duplicate covers from Calibre | crutledge | Calibre | 4 | 05-10-2010 03:08 PM |