mienaiyami / yomikiru

An offline desktop reader for manga, comics, and novels. Offers a customizable reading experience with extensive settings, shortcuts, themes and layouts. Manga reader / Manhwa reader / Webtoon Reader / EPUB Reader. **Not a downloader**
MIT License
283 stars 13 forks source link

Support for more modern image formats #375

Open Jinnai opened 8 months ago

Jinnai commented 8 months ago

Type of reader (if reader related)

image

Description of the new feature / enhancement

It would be nice if support for more modern image formats could be added such as .jxl and .heif/.heic.

Scenario when this would be used?

No response

Supporting information

No response

omodia commented 8 months ago

If I am not wrong, This is a react app, so it uses chromium.

JXL -> Gooble implements it into chromium -> React adds it -> The app dev implements it. (This process would be the easiest than adding the format through library, I think.)

JXL status

  1. https://bugs.chromium.org/p/chromium/issues/detail?id=1451807
  2. https://bugs.chromium.org/p/chromium/issues/detail?id=1178058
  3. https://github.com/libjxl/libjxl/releases/tag/v0.10.1
  4. Since appil implemented it and many others are also implementing JXL, gooble would probably implement it too.
mienaiyami commented 8 months ago

While it is possible to show these formats by converting them to normal image data, it will very tedious, plus it will be depending on canvas based renderer so it wont be possible to start it until #245 is fully implemented.