Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2026, 08:17 PM   #1
CirrusGear
Junior Member
CirrusGear began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara Colour
Bulk Cover Fixing for KEPUB?

Is there a way to bulk edit kepub files in such a way that I don't have to edit them individually? To be more clear, I have found that to make covers not stretch after being converted by Calibre I have to by hand go into editing the file by search and replacing "preserveAspectRatio='none'" with "preserveAspectRatio='xMidYMid meet'" on each titlepage.xhtml for each book.


Can I do this in bulk or do I have to do this by hand each book?
CirrusGear is offline   Reply With Quote
Old 02-04-2026, 02:03 PM   #2
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: 31,492
Karma: 62503914
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Try Polish(ing) a book. I believe that uses SVG covers.

Do a 'test' Polish (the hand broom icon) on a known NOT right book, then check the titlepage.xhtml (or the designated cover) file.
If tat does what you want BULK MODE the next run
theducks is online now   Reply With Quote
Advert
Old 02-04-2026, 03:35 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,029
Karma: 150831497
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by CirrusGear View Post
Is there a way to bulk edit kepub files in such a way that I don't have to edit them individually? To be more clear, I have found that to make covers not stretch after being converted by Calibre I have to by hand go into editing the file by search and replacing "preserveAspectRatio='none'" with "preserveAspectRatio='xMidYMid meet'" on each titlepage.xhtml for each book.


Can I do this in bulk or do I have to do this by hand each book?
Use the KoboTouch driver to convert to KePub as you send to your Kobo. There is an option to in the Collections, covers, & uploads tab to Keep cover aspect ratio. You need to be using calibre 8.16.2 or 9.1.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KEPUB Cover Output Calibre v8.x+ Dixilyn Conversion 2 06-20-2025 04:20 PM
kepub Cover page resizing m_pluto Kobo Reader 4 03-15-2025 11:49 PM
Fixing "broken" EPUB/KEPUB during conversion? spacepope Conversion 3 04-22-2022 11:51 AM
Bulk fixing Author/Title by using regex solim Calibre 1 06-30-2021 12:52 PM
Fixing repeating cover Alyssa Miranda Calibre 6 09-11-2018 03:57 PM


All times are GMT -4. The time now is 09:50 PM.


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