-
Notifications
You must be signed in to change notification settings - Fork 227
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
PDF cover got inserted into 2nd page instead of first page. #686
Comments
@shihong5858 Unfortunately, that is just the order of the images in the bytes of the pdf. You can verify it by running a
Logic to follow the actual page order of the pdf could be possible, but considering how You could manually rename the first page, in pdfs I often find weird order issues with the first page. |
Thanks for the explanation. The file was converted by Calibre command-line tool from a mobi file. The ordering was correct in the original mobi file. I guess I have to see if there's any configure I can tweak on the Calibre side then. |
@shihong5858 can't you use calibre to convert mobi to cbz/zip? |
@axu2 I've tried. Calibre cannot directly convert the file into cbz file (which is my target format), and I used to use zip as the intermediate format before passing to kcc. |
Ideally you would find a source that isn't mobi |
Yea... but the purpose of my script is to help ppl convert common format into kobo friendly format, so I cannot have a choice :P |
Describe the bug
When converting a pdf manga into a CBZ file, the cover on the first page got inserted into 2nd page in CBZ file.
To Reproduce
E:\kindle-bk\kcc-c2e.exe -p KoC -f CBZ -mus --cropping 1 --croppingpower 1 --gamma 1.35 E:\input\test2.pdf -o E:\output\test2.cbz
Expected behavior
The generated PDF got the cover inserted on the 1st page, like in the original PDF file.
Sample Files
CBZ
PDF
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: