-
Notifications
You must be signed in to change notification settings - Fork 230
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
Incorrect table of contents if "Rotate and split" is chosen #558
Comments
Can you test if #507 fixes it? Also png doesn't work well with kindlegen you should do jpg to avoid reprocessing. If you really want lossless use gif. |
Can you investigate further, I thought it would fix split page bookmark drift since I re-added some logic that was skipped before. Look for logic related to kcc-b and kcc-c. Can you test if drift still occurs if you leave split unchecked? Maybe there needs to be kcc-a logic |
Sorry, I forgot to checkout that branch. Will recheck immediately. |
I just tested #507 again with this settings (only changed PNG to JPEG): Seems like the pages are shuffled. Even the cover is replaced by another page in the manga. I also tried renaming all the files in the CBZ with 4-digit numbers and now I have this error:
Update: tested CBZ starting with |
@vinhtq115 Please test the current version of the PR, just added a For some reason, it wasn't iterating in sorted order in the first place. Please also test for the index out of range problem. |
ToC appears to be fine now. Only managed to test the first entry that is incorrect because the device froze and crashed. Update: ToC is correct but it is because I disabled image processing to get around the out of index error. So no double page splitting in the file
I tested with CBZ file renamed from |
The exception only happens if I rename the file to File for testing: https://we.tl/t-EMC3t7UgD7 I printed the filenames and filelist variables in
Lots of images were removed after |
Please try the updated PR. Looks like the bookmark logic was buggy. Thanks for providing test files, that logic was previously skipped until I fixed the naming issue. |
I tested with original CBZ file and the ToC is correct now. For the file that begins with |
Also, can you test the latest PR, I believe it has fixed the 0000 issue as well. And if you have a moment, review the PR in its entirety. |
Seems like the error with Regarding the PR, it looks fine to me. |
Thanks, and just out of curiosity I was testing this with the Apple Silicon PR merged in on top. Did you do that too? |
No. I only use |
I tested it and everything worked. Had to remove the .spec file that was generated earlier for the compilation to work because if I don't, it will generate a non-functional binary file (size = 1/2 that of functional one). Update: you may want to increment the number of steps during
|
It seems that if "Rotate and split" is chosen, the table of contents created with ComicTagger is not adjusted correctly. If there are any double pages before the entry, It is off by a few pages (roughly equal to the number of double pages before that page).
For example:
Example file:
https://we.tl/t-RHYm3amWpH
Settings I used:
The first three entries in the ToC is correct (since there aren't any double pages between them). But the fourth one is off by 3 pages (should be 74/171 on Kindle instead of 70/171) because there are 3 double pages before the third and fourth entries. Also, idk why Kindle does not show page 72 (only 70-71-73-74) and the number on the ToC is 68 instead of 70.
The text was updated successfully, but these errors were encountered: