Skip to content
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

Features TODO #1

Open
14 of 17 tasks
HermesPasser opened this issue Jul 22, 2021 · 0 comments
Open
14 of 17 tasks

Features TODO #1

HermesPasser opened this issue Jul 22, 2021 · 0 comments

Comments

@HermesPasser
Copy link
Owner

HermesPasser commented Jul 22, 2021

  • create epub structure
  • get input file images
    • uncompress if is a zip
  • process the images if need
    • stretch/warn if they too small for the device (we need to store the size of some devices if so)
      • should we use css to do that or edit the img itself?
    • split in two if too big for the device (kcc does it)
      • test with letting the page be in landscape mode too
    • reduce the image size [1]
      • can be done by reducing the quality (we don't need high res on small devices and it can be done in a way that is not that apparent)
      • resize down to the device's size?
  • add to epub any metadata from cbz
  • add the images to epub
    • move the images to image folder
    • create xhtml to them
    • put images and xhtmls in manifest
    • put images in toc/nav and in any other place they need to be declared
      • if the original zip/folder has sub-folders with the images then make each sub-folder as a chapter in the epub
      • make the toc (not as a rendition but a toc to select the chapters) since as right now there is no way to select the chapter w/o going to the last page on epubs made with the --toc flag set
  • write comic unrelated metadata i.e. uid and datechanged
  • zip folder as epub

[1]: official released comics are way heavier than you everyday scanlation so this feature is very important.

@HermesPasser HermesPasser changed the title TODO Features TODO Jul 26, 2021
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

No branches or pull requests

1 participant