11-12-2020, 11:21 PM | #1 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Polish Cover didn't quite work
Hello,
I normally use the Polish feature in calibre to update the cover image in the ebook. This has worked rather well in the past. Today when I used "Polish" "update the cover in book file" the cover image doesn't appear correctly in Adobe Digital Editions 4.5.8. Here is the code from the Calibre "Edit Book" for the cover image prior to using "Polish." Code:
<body epub:type="frontmatter"> <div class="cover" id="cover"> <img alt="image" src="../images/9780062941473_Cover.jpg"/> </div> </body> Code:
<body> <div> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 1350 2040" preserveAspectRatio="none"> <image width="1350" height="2040" xlink:href="../images/cover.jpg"/> </svg> </div> </body> I'd appreciate any and all help in solving this mystery. Best Regards, Amalthia Last edited by Amalthia; 11-12-2020 at 11:22 PM. Reason: fixing the code so the lines don't run off the page |
11-13-2020, 12:27 PM | #2 |
Bibliophagist
Posts: 35,306
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
As a start, I'd suggest changing the preserveAspectRatio="none" to preserveAspectRatio="xMidYMid meet"
|
Advert | |
|
11-13-2020, 03:06 PM | #3 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Hi,
I changed the preserveAspectRatio="none" to preserveAspectRatio="xMidYMid meet" and well the cover looks like a cover but it's a tiny icon cover, in sea of white blank space. I've attached a screenshot. preserveAspectRatio="none" is the default for "Polish Book" update cover. Best Regards, Amalthia |
11-13-2020, 03:28 PM | #4 |
Well trained by Cats
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
what are the dimensions (px) of the file image?
|
11-13-2020, 03:58 PM | #5 | |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
|
|
Advert | |
|
11-13-2020, 08:06 PM | #6 |
Well trained by Cats
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
11-13-2020, 11:24 PM | #7 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
I'll review my save settings...maybe something changed when I updated Calibre to 5.5.
|
11-13-2020, 11:47 PM | #8 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Maybe I need to look in the Adobe Editions forums to see if other people are having similar problems with the cover display...
|
11-15-2020, 08:55 PM | #9 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
11-16-2020, 12:33 PM | #10 |
Bibliophagist
Posts: 35,306
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
AFAIK, Polish Books is not customizable. The ModifyEpub plugin does use the preserveAspectRatio="xMidYMid meet" setting which is why I prefer it. Most of the items that Polish Books does that Modify ePub doesn't such as font subsetting/embedding, removing unused CSS rules, etc. are not needed by me since I run the epubs through an editor (either Sigil or calibre's editor or both depending on what I'm doing).
|
11-16-2020, 02:19 PM | #11 | |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
Thanks for all your help. I think I may try the ModifyEpub plugin for covers. Normally, I just use the Polish Book to insert the metadata cover into the ebook at the end after I've finished fixing the ebook formatting. |
|
11-16-2020, 06:32 PM | #12 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
11-16-2020, 06:42 PM | #13 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
I found out where I needed to update the settings for Modify ePub. However, it's still a bit of a mystery as to why the cover art is a tiny icon instead of full page....
|
11-17-2020, 01:39 AM | #14 |
Wizard
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
kovidgoyal solved the problem I was having in another MobileRead post: https://www.mobileread.com/forums/sh...36&postcount=8
It appears the novel I was viewing in Adobe Digital Editions (ADE) was a epub 3 file. I converted the novel to epub 2 and the cover art is back to it's normal size. Thanks to everyone who tried to help solve this mystery. |
Tags |
cover, cover file size, polish, polishing |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why didn't this regex work right? | mrmikel | Editor | 1 | 04-12-2014 10:04 AM |
Touch Updated to 2.8.1, now SD card didn't work | VirgoGirl | Kobo Reader | 36 | 09-13-2013 07:49 AM |
Calibre's collections plugin didn't work | atp | Library Management | 4 | 03-12-2012 08:01 PM |
Troubleshooting Help,My kindle didn't work. Please | feiyangw | Amazon Kindle | 4 | 12-23-2011 04:49 AM |
PRS-600 Power Management Didn't Work | Coreman | Sony Reader | 9 | 10-12-2009 06:58 AM |