Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2016, 08:29 AM   #1
dKodiak
Member
dKodiak began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2013
Device: Galaxy S4
Cover size in eBooks

Sorry if not posted in correct forum.

I like my Covers to keep the same aspect ratio whatever device I read them on.

So I usually go in and change the svg from preserveAspectRatio="none" to preserveAspectRatio="xMid yMid meet".

This centers the cover, as well as automatically resize it to fit the screen while preserving the aspect ratio. I would like to know if there is an easy way to do this when I replace or add a new cover to the file without having to edit every single file?

Like an option in "polish ebook" and add/replace cover.

I have a quite a few ebooks, and it is very time consuming to have to edit each book.

Thank you,

Daniel
dKodiak is offline   Reply With Quote
Old 09-14-2016, 08:40 AM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by dKodiak View Post
Like an option in "polish ebook" and add/replace cover.
I'm a little confused by your question because if you already know about calibre's Polish ebook option then surely you will also have seen the checkbox for 'Update the cover in the book files'. Did something go wrong when you tried this?
jackie_w is offline   Reply With Quote
Advert
Old 09-14-2016, 08:46 AM   #3
dKodiak
Member
dKodiak began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2013
Device: Galaxy S4
The svg code puts in preserveAspectRatio="none" in Polish ebook. which does not preserve the aspect ratio. The cover fills the screen. I use preserveAspectRatio="xMid yMid meet" which centers and keeps the aspect ratio. So I have to go in and edit each book after I polish it.
dKodiak is offline   Reply With Quote
Old 09-14-2016, 08:52 AM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by dKodiak View Post
The svg code puts in preserveAspectRatio="none" in Polish ebook. which does not preserve the aspect ratio. The cover fills the screen. I use preserveAspectRatio="xMid yMid meet" which centers and keeps the aspect ratio. So I have to go in and edit each book after I polish it.
Ah, OK, it sounds like you need to revisit calibre Preferences:

Prefs - Change calibre behaviour - Conversion:Output Options - EPUB Output

then check the box labeled 'Preserve cover aspect ratio' followed by the 'Apply' button. You may need to restart calibre afterwards.

Then try Polish again.

Last edited by jackie_w; 09-14-2016 at 08:56 AM. Reason: Forgot the Apply button
jackie_w is offline   Reply With Quote
Old 09-14-2016, 08:55 AM   #5
dKodiak
Member
dKodiak began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2013
Device: Galaxy S4
Here are screenshots of what I am talking about.

In the first png, on the left is preserveAspectRatio="none" and on the right is preserveAspectRatio="xMid yMid meet".

The second screenshot is the coding
Attached Thumbnails
Click image for larger version

Name:	2016-09-14 (1).jpg
Views:	190
Size:	285.8 KB
ID:	151617   Click image for larger version

Name:	2016-09-14 (2).png
Views:	201
Size:	200.0 KB
ID:	151618  
dKodiak is offline   Reply With Quote
Advert
Old 09-14-2016, 09:00 AM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Yes, I know what you're talking about. Changing your calibre Prefs as per my previous post above then re-running Polish should fix that.
jackie_w is offline   Reply With Quote
Old 09-14-2016, 09:03 AM   #7
dKodiak
Member
dKodiak began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2013
Device: Galaxy S4
It worked, thank you. I knew there was a way....Just could not find it.

It has been a couple of years between when I last set up caliber and this time, I thought I had it before and probably did.
dKodiak is offline   Reply With Quote
Reply

Tags
aspect ratio, cover


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover size? Joseph Picard Writers' Corner 7 10-30-2012 04:21 PM
Adjusting Cover Size jhempel24 ePub 17 01-20-2012 05:20 PM
Cover Image size dezignlady ePub 6 08-04-2011 10:41 AM
Cover size on device Lukas238 Devices 3 04-19-2011 10:18 AM
Cover size Dopedangel Calibre 2 03-19-2010 04:32 AM


All times are GMT -4. The time now is 08:03 PM.


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