Hello, first of all sorry for creating an issue that isn't related to this repo, but I needed some help from a fellow developer who worked on similar project.
I'm author of similar app as yours (https://github.com/mienaiyami/react-ts-offline-manga-reader) which I have been working on for a while. I had an issue where app will stutter when scrolling, which I later found out was because they were decoding when they were visible on screen, so I use img.decode() on load of image element in advance.
The issue got fixed but only for some images. If resolution of image is higher than 4k the issue persists, and I get the error DOMException: The source image cannot be decoded. and I can't seem to find a way to prevent this. Then one of my app's users mentioned that your app does not stutter when he is scrolling high resolution images.
It would be a great help if you can tell how you prevent stuttering in your app. I have checked you code and can't find anything that might be preventing stuttering.
Sorry if you are checking my project, I haven't made a documentation yet as this is my first project and I missed it in start of development.
Hello, first of all sorry for creating an issue that isn't related to this repo, but I needed some help from a fellow developer who worked on similar project. I'm author of similar app as yours (https://github.com/mienaiyami/react-ts-offline-manga-reader) which I have been working on for a while. I had an issue where app will stutter when scrolling, which I later found out was because they were decoding when they were visible on screen, so I use
img.decode()
on load of image element in advance. The issue got fixed but only for some images. If resolution of image is higher than 4k the issue persists, and I get the errorDOMException: The source image cannot be decoded.
and I can't seem to find a way to prevent this. Then one of my app's users mentioned that your app does not stutter when he is scrolling high resolution images.It would be a great help if you can tell how you prevent stuttering in your app. I have checked you code and can't find anything that might be preventing stuttering.
Sorry if you are checking my project, I haven't made a documentation yet as this is my first project and I missed it in start of development.