Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-12-2020, 11:21 PM   #1
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
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>
This is the code after using "Polish" update cover image.

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've attached a screenshot of what this cover looks like in Adobe Digital Editions. The cover looked fine in "Edit Book" and in the Calibre "Viewer" so I'm not sure what went wrong with Digital Editions.

I'd appreciate any and all help in solving this mystery.

Best Regards,
Amalthia
Attached Thumbnails
Click image for larger version

Name:	masterofone-cover.JPG
Views:	224
Size:	91.3 KB
ID:	183361  

Last edited by Amalthia; 11-12-2020 at 11:22 PM. Reason: fixing the code so the lines don't run off the page
Amalthia is offline   Reply With Quote
Old 11-13-2020, 12:27 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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"
DNSB is online now   Reply With Quote
Advert
Old 11-13-2020, 03:06 PM   #3
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
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
Attached Thumbnails
Click image for larger version

Name:	masterofone-cover-revised.JPG
Views:	172
Size:	45.7 KB
ID:	183368  
Amalthia is offline   Reply With Quote
Old 11-13-2020, 03:28 PM   #4
theducks
Well trained by Cats
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: 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?
theducks is online now   Reply With Quote
Old 11-13-2020, 03:58 PM   #5
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
what are the dimensions (px) of the file image?
1350 x 2040
Amalthia is offline   Reply With Quote
Advert
Old 11-13-2020, 08:06 PM   #6
theducks
Well trained by Cats
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: 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
Quote:
Originally Posted by Amalthia View Post
1350 x 2040
I am out of ideas.
If that was the code from the book that LANDED on the device (remember Calibre will adjust when sending if you don't have 'Tablet' profile set)
theducks is online now   Reply With Quote
Old 11-13-2020, 11:24 PM   #7
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
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.
Amalthia is offline   Reply With Quote
Old 11-13-2020, 11:47 PM   #8
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
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...
Amalthia is offline   Reply With Quote
Old 11-15-2020, 08:55 PM   #9
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by DNSB View Post
As a start, I'd suggest changing the preserveAspectRatio="none" to preserveAspectRatio="xMidYMid meet"
Do you know how to change this setting in Polish Book?
Amalthia is offline   Reply With Quote
Old 11-16-2020, 12:33 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,306
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Amalthia View Post
Do you know how to change this setting in Polish Book?
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).
DNSB is online now   Reply With Quote
Old 11-16-2020, 02:19 PM   #11
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by DNSB View Post
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).
Hi,

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.
Amalthia is offline   Reply With Quote
Old 11-16-2020, 06:32 PM   #12
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by DNSB View Post
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).
Polish books isn't directly customizable. It uses the default conversion options. And from memory, so does the Modify ePub plugin (unless it has options for it).
davidfor is offline   Reply With Quote
Old 11-16-2020, 06:42 PM   #13
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by davidfor View Post
Polish books isn't directly customizable. It uses the default conversion options. And from memory, so does the Modify ePub plugin (unless it has options for it).
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....
Amalthia is offline   Reply With Quote
Old 11-17-2020, 01:39 AM   #14
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
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.
Amalthia is offline   Reply With Quote
Reply

Tags
cover, cover file size, polish, polishing


Forum Jump

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


All times are GMT -4. The time now is 03:21 AM.


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