mihonapp / mihon

Free and open source manga reader for Android
Apache License 2.0
9.09k stars 403 forks source link

Convert images to WebP format when downloading #482

Open BaccanoMob opened 6 months ago

BaccanoMob commented 6 months ago

Describe your suggested feature

WebP format is lighter than JPEG and PNG. It'll save a lot of space on top of using CBZ archive.

It would be ideal to have an option to choose to convert to WebP or not in the download settings

Other details

No response

Acknowledgements

BrutuZ commented 6 months ago

Mihon's CBZ are uncompressed archives BTW, they don't really save space. Part of it because image files inherently don't compress well but you still have to use the extra processing when reading.

BaccanoMob commented 6 months ago

I guess more the reason to implement this feature since WebP take less space compared to png/jpg. So it might help the app perform better (similar to splitting tall images).

radobot commented 5 months ago

Might as well use JPEG XL.

Quackdoc commented 2 months ago

+1 for JXL, it can save a lot of space and I can't think of a good solution to manually do this, it would be nice to convert covers too as they can take up a large amount of space 2GB+ on my phone currently

mm12 commented 3 weeks ago

Turning into JPEG XL vs WebP, really depends on what you are after. Both have purposes. Probably a deeper look is need before making a call on this, or even just make it something in the advanced settings