gotson/komga

Image epub reading becomes very slow

Closed this issue · 3 comments

Steps to reproduce

Since the support of text epub files, it has become very difficult to read epub files of images (e.g. manga epub) online. Each page needs to be loaded separately, which makes each page turn take quite a long time.

Expected behavior

It seems that the new version of the analysis file will analyze all files as text epub.

Actual behavior

The epubs analyzed before the version update don't seem to have this problem.

Logs

No response

Komga version

1.14.0

Operating system

WIN11

Installation method

Docker

Other details

No response

Acknowledgements

  • I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.

it depends on the files. Komga uses a heuristic to determine whether the epub only contains images or not. Can you share some of the files not detected as image epubs ?

https://drive.google.com/file/d/1SIBylYYXMyoTpgCb_bpGUsG7vECbkRGG/view?usp=sharing
You can try this epub.
In older versions of komga, which don't yet support text epubs, manga epubs are read properly.But now in the current version the manga epub seems to get loaded page by page, one by one, which makes it very difficult to read. It takes several seconds of waiting each time you turn the page.
Although I've seen some of the previous version fixes (like 1.9.0) mention a web reader fix for epubs that contain only images, I have absolutely no idea how to make it work. Can we set the specified Libraries to indicate that it contains only image epubs?

that book is not pre-paginated, thus it cannot be rendered using the Divina reader. I see it's coming from Calibre, and the EPUB metadata is wrong.

For a comic/manga in EPUB, the book should be marked as pre-paginated / fixed layout.

In EPUB3 there should be a <meta property="rendition:layout">pre-paginated</meta> under the <metadata>.