Comments (27)
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.
from kcc.
Duplicate Empty cover page #433
Duplicate First page duplicated #557
potential fix New arguments to CLI #561
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.
from kcc.
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 Kobo Libra 2
, it seems both pages are shown simultaneously.
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. 🤔
from kcc.
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 kcc-0000.*
the temp name that KCC
uses for the first page on a chapter, and now the chapter cover file now has priority so that it's fullfilled before it gets deleted.
from kcc.
I just tried your branch on my Kindle just for confirmation it opens fine
Previously, my files would be aligned when reading in landscape. (rotate and split option)
With your branch, alignment is lost.
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.
from kcc.
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.
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
from kcc.
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.
from kcc.
@peiskios if you have time try my fix for EPUBs specifically.
from kcc.
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
from kcc.
@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.
from kcc.
@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!
from kcc.
@peiskios Can you confirm on GitHub Desktop you are on the right branch? skip-first-page
The branch should go further and de-dupe the cover with no manual edits.
from kcc.
I would also love for this to become a feature inside the KCC GUI, doing it by hand is very tedious.
However, while adding or removing a page would indeed fix the problem for a book, it wouldn't fix it for multiple files combined into a single epub.
For example, if you own multiple chapters of a single volume and want to combine them into one, if some chapters have an odd number of pages, it would throw off the order again due to Kobo ignoring any indicators that one page should be displayed alone.
This is not an issue on Kindle devices as far as I've tested.
from kcc.
I would also love for this to become a feature inside the KCC GUI, doing it by hand is very tedious. However, while adding or removing a page would indeed fix the problem for a book, it wouldn't fix it for multiple files combined into a single epub. For example, if you own multiple chapters of a single volume and want to combine them into one, if some chapters have an odd number of pages, it would throw off the order again due to Kobo ignoring any indicators that one page should be displayed alone.
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 😅
from kcc.
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.
from kcc.
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).
from kcc.
The download link doesn't work, Mediafire deems it as a dangerous file, might want to zip it first to counter this
from kcc.
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?
from kcc.
Please remove your media fire links and instead use GitHub Actions on your fork to generate exe. @VampiroMedicado
from kcc.
Please remove your media fire links and instead use GitHub Actions on your fork to generate exe. @VampiroMedicado
Ok, will do.
from kcc.
I've tested it : https://imgur.com/a/ktoGvDd
Can confirm it works, although the result is that upon opening the book, the first page displayed alone is not the cover but page 001 instead, whichI think is a shame because the only ways to see the full cover art ends up being to put the Kobo in sleep mode, where it will display the cover art of what you are currently reading as a lock screen.
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.
from kcc.
@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.
from kcc.
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).
from kcc.
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.
from kcc.
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).
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.
- Add a 1x1 blank PNG as page 0001.
- Remove page 0000 after cover.jpg is created.
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!
from kcc.
@PrinceSeven how does Kobo Store manga behave?
from kcc.
To add more information.
https://github.com/kobolabs/epub-spec#cover-images
Covers should also be listed in the OPF metadata section. The metadata indicates the cover by pointing to the ID of the cover file in the manifest. Kobo uses this tag to identify which image to display as a thumbnail within user's libraries across platforms.
Ex. OPF metadata:
<meta name="cover" content="cover-image"/>
Manifest item listing:
<item href="cover.jpg" id="cover-image" media-type="image/jpeg"/>
Cover images must be contained in their own XHTML files.
content.opf
KCC
...
<meta name="cover" content="cover"/>
...
<item id="cover" href="Images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
...
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.
from kcc.
Related Issues (20)
- PDF cover got inserted into 2nd page instead of first page. HOT 6
- Kindlegen Conversion to Mobi HOT 3
- flatpak: stuck on Creating MOBI Files HOT 19
- Pocketbook Inkpad Color 3 settings HOT 3
- distutils Python 3.12 HOT 2
- [bug] failed to detect CBZ files using Add directory button HOT 3
- [feature suggestion] Chapter (CBZ files) merging/fusion checkbox HOT 3
- [Feature Request] Generate page-spread properties
- Conversion to mobi is not creating landscape pages HOT 2
- "(X) Install KindleGen (link)" - KCC not finding Kindle Previewer HOT 11
- KindleGen failed to create MOBI! HOT 6
- Annotation is being disabled when converting from cbz to epub HOT 2
- Hyperlink not resolved in toc (e24010/kindlegen) HOT 10
- Automatic output splitting doesn't work with archives HOT 1
- Manga mode do not work when converted to cbz format HOT 3
- Default color output for Color devices profile HOT 1
- Kobo Libra Colour HOT 4
- XCB Platform Plugin Issue HOT 3
- KCC 6.1 on Windows | No module named 'pkg_resources.extern' HOT 3
- General Question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcc.