|
|
#1 |
|
Junior Member
![]() 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? |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
|
|
|
![]() |
|
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 |