Skip to content

experimental epub input#1090

Draft
axu2 wants to merge 2 commits intociromattia:masterfrom
axu2:epub2
Draft

experimental epub input#1090
axu2 wants to merge 2 commits intociromattia:masterfrom
axu2:epub2

Conversation

@axu2
Copy link
Collaborator

@axu2 axu2 commented Sep 20, 2025

@bust4cap @MrBlank in case you want to try, same assumptions as last time. Now i follow spine. If multiple images per page weird stuff might happen. no blank handling yet.

No added dependencies this time.

Much better than

@axu2 axu2 marked this pull request as draft September 20, 2025 01:13
@bust4cap
Copy link

order is now correct in titles where it wasnt before and more titles complete now.
here are some more examples of titles that dont currently work:
test series a - could be the use of nbsp (non breaking spaces) in the opf file, could be referencing the same image multiple times in xhtml due to amazon panel view
test b multi_img - has multiple images per page (one main image, one smaller image to cover the page number)
test c css_img - images are only referenced in the css file, not the xhtml
test d img_only - only has images, no xhtml

test b multi_img.epub.zip
test c css_img.epub.zip
test d img_only.epub.zip
test series a v01.epub.zip
test series a v02.epub.zip
test series a v03.epub.zip

@axu2
Copy link
Collaborator Author

axu2 commented Sep 20, 2025

Ok I think the above commit fixes series A.

But man, these epubs are crazy, this is barely standardized haha.

Make me think that epub to cbz should be a separate app. Your app is closed source and doesn't run on mac though.

@bust4cap
Copy link

But man, these epubs are crazy, this is barely standardized haha.

yup, its bonkers. there are still more cases to come too xD

Make me think that epub to cbz should be a separate app. Your app is closed source and doesn't run on mac though.

i want to go open source with it eventually, but the code is such a mess :P
i know the smaller package works on linux using wine and winetricks to install the dotnet desktop runtime 9, no idea what the mac equivalents would be, if there are any

@bust4cap
Copy link

Your app is closed source

its open source now, but as i said, the code is a mess so i dont know how helpful it can be :P

@axu2
Copy link
Collaborator Author

axu2 commented Nov 24, 2025

@bust4cap BTW, do you know if the azw3 downloaded via Download and Transfer supported the 2 page spread preview feature? Or is that a KFX only feature? I'm talking about the feature where you see a tiny thumbnail of the 2 page spread at the bottom of the page.

If it does, is there some undocumented method to activate that feature in the page's html?

@bust4cap
Copy link

i only have like two dozen titles in that format and of that selection none support that particular function. i dont know whether it is supported in general or not

@axu2
Copy link
Collaborator Author

axu2 commented Dec 3, 2025

@bust4cap Thanks for confirming that it is likely KFX only feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants