Issue with images and gifs causing downloaded novels to be massive
Opened this issue · 0 comments
Steps to reproduce
Download all chapters of a novel like Stray Cat Strut on Royal Road or Scribblehub, or Boosted Restart on Scribblehub.
Expected behavior
The app does not break due to massive size. I would expect it to filter if there are 100mb gifs containing 30+ frames of 2.5k images, or if there's the same five 3+ mb picture on every chapter of a novel for hundreds of chapters.
Actual behavior
Backups start causing crashes because the feature isn't designed to support gigabytes of chapters, the app takes up several gigabytes of space, and there is no way for the user to choose not to download images or gifs with the chapter, so they're forced to not download the chapters of those novels if they want the app to function properly.
LNReader version
Tried on both 2.0.0-beta.2 as well as revision #1153 (current latest code on GitHub)
Android version
Android 14
Device
Galaxy S23 Ultra
Other details
It was suggested either automatically stripping any image or gif that's too large from the downloaded chapters, or just outright not downloading stuff. I personally would appreciate being given the options to both download images or not and download gifs or not. I don't know about the feasibility, but many images I've seen are either user profile images (Which appear every chapter) or a banner in every chapter, so saving the image once and then linking to it instead of having an identical image downloaded for every chapter would certainly help.
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
- I have written a short but informative title.
- If this is an issue with a source, I should be opening an issue in the sources repository.
- I have updated the app to version 2.0.0.
- I will fill out all of the requested information in this form.