-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add option for the insertion of a single blank page to correct alignment of two-page spreads #640
Comments
Are you able to run pull request code? https://github.com/ciromattia/kcc/wiki/Installation#install-from-source This would have to be an option, on Kindles the duplicated page is necessary for double page spread alignment. |
I run the flatpak GUI version of KCC and I'd rather not swap to using a source-compiled CLI version. I understand that this would need to be an option, which I specified in the original request. As an option, it could only benefit the people who need it and inconvenience no one. |
Hi @senecaFallsConvention, could you provide a picture to illustrate the issue? I suspect that the cover page, which is displayed during book selection, and the first page of the book are identical. On your My preferred choice for a workaround to this issue would be to skip the first page. Removing the cover file could hinder your ability to search and easily distinguish between different books. Additionally, adding a blank page would not add any meaningful value. 🤔 |
Hi @senecaFallsConvention I've created a branch with a quick and dirty fix. Check if it works for your use case. Branch: https://github.com/VampiroMedicado/kcc/tree/skip-first-page https://github.com/ciromattia/kcc/wiki/Installation#install-from-source The changes consist of the removal from both disk and the reference path of |
I just tried your branch on my Kindle just for confirmation it opens fine I imagine it works fine for the Kobo case though. I DO think that de-duping the cover is better than adding a blank page. This would also fix the "unsupported directory structure" bug when the cover is not in a chapter folder. |
I'm having the same issue where the wrong pages are being matched up but I don't understand how you fixed it. how do I extract the archive? is this something I can fix with calibre? I'm really new to all this |
Right click the cbz in windows, 7zip, extract to /. Then duplicate the cover page. Then drag the whole folder into kcc. @peiskios Or install from source following the link. You're the second kobo person to bring this up, I'm tempted to just make this default kobo/other behavior. |
@peiskios if you have time try my fix for EPUBs specifically. |
im not sure if I did it right, but the fix that removes page 0000 didn't work for me. extracting the contents of the cbz file into a folder and duplicating the cover page worked! Is there a way to make it a blank page instead? Would I just make a "blank" jpeg of the same dimensions/resolution as one of the pages and name it the same as the cover page copy? Not a huge deal if I'm stuck with two cover pages at the beginning, but I thought I'd ask in case it is possible |
@peiskios In what way did it not work? Make sure you are on the correct branch in GitHub Desktop. And yes, you could just use a blank page with the same name. |
it just didn't do anything and looked the same. duplicating the first page is simpler for me so ill just stick with that until there's an easier/faster fix. thanks for your help! |
@peiskios Can you confirm on GitHub Desktop you are on the right branch? |
I would also love for this to become a feature inside the KCC GUI, doing it by hand is very tedious. This is not an issue on Kindle devices as far as I've tested. |
If you have a Kobo, could you try the branch on the following comment; #640 (comment) Could you provide us an example? Check also the following comment: #640 (comment) if it explains the issue. I have two kindles, but not a Kobo to check this 😅 |
If you were to quickly build it into the GUI I'd test it out, as I'm really terrible at using from source and other similar applications. As for the second thing I was talking about, I don't think it's really relevant in the end, simply that combining chapters into a single epub can wield to unsatisfying results. |
It's always on. There's no checkbox at the moment, just a quick fix to try the idea. I guess you meant an executable: https://github.com/VampiroMedicado/kcc/actions/runs/7480624692. Just run it and try to make an epub. On the left the first page which is used as a cover and on the right the first page on the EPUB (page 2). |
The download link doesn't work, Mediafire deems it as a dangerous file, might want to zip it first to counter this |
Good idea, https://github.com/VampiroMedicado/kcc/actions/runs/7480624692 Edit by @axu2 . @peiskios Does this exe work for your use case? Also, how does Kobo Store manga handle covers compared to KCC? |
Please remove your media fire links and instead use GitHub Actions on your fork to generate exe. @VampiroMedicado |
Ok, will do. |
I've tested it : https://imgur.com/a/ktoGvDd Still, this is a big improvement as it does work (as can be seen on the third image in my imgur link which is a double spread), thank you. |
@PrinceSeven Does Kobo store manga start on the cover instead of page 1? I only have Kindle. I can page back from page 1 to get to cover. |
cover.jpg will display as the lock screen and cover art when browsing, but Page 1 (so the first page shown individually from the others) will be the first image in the epub (aside from the cover), so in this case 001.jpg (000.jpg which KCC deleted was a duplicate of the cover art). |
My ideal solution personally would be to add a blank image as the second image in the Epub. That way the cover art cover art would remain the first pic you see when you open the ebook, while still reordering properly the pages. |
I see, if you want to view the cover art, that might be an issue. As @axu2 mentioned, on Kindle, we can go back and check the cover art, but it always starts from the first page. Personally, I don't care a lot about the cover art besides knowing what I'm reading when it's locked, but we could provide both options for people who do care.
What do you think, @axu2? I'll check if EPUB has any features to work like the Kindle does and get back to you. Thanks @PrinceSeven for the help! |
@PrinceSeven how does Kobo Store manga behave? |
To add more information. https://github.com/kobolabs/epub-spec#cover-images
content.opf KCC
I see a different content attribute that might or might not affect the intended behavior, and we do not have a cover.xhtml file. If we get our hands on a Kobo Store epub file we might be able to confirm this. |
I don't know if it's something inherent to Kobo devices or to the conversion process, but the first page of any file created with KCC, at least when viewed on a Kobo Libra 2, takes up two pages. This is problematic when the images in the archive were already arranged so that two-page spreads would properly fall on two pages. This causes the images to fall out of alignment and all two-page spreads to be split between one page and the next. It's possible to remedy this by extracting the archive and duplicating two pages near the beginning so the alignment is fixed, but that takes significantly more time (especially when converting numerous archives) than a checkbox option that would insert a single blank page and fix the alignment during the conversion process, no extraction necessary.
If, as I think, this is a quirk of Kobo devices, an option such as this could save many people a lot of time.
The text was updated successfully, but these errors were encountered: