Difegue / LANraragi

Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.
https://lrr.tvc-16.science
MIT License
2.14k stars 151 forks source link

[Feature Request] Split Picture #937

Open millionart opened 8 months ago

millionart commented 8 months ago

Some scanned versions of manga combine left and right pages into a single picture, which can be crowded to read on ipad, I hope we can provide the function of splitting pictures and adjusting their display order according to the reading direction.

cazendium commented 8 months ago

I felt the same way. I made a quick implementation where it divides the pages evenly and adds to the page count.

it’s not perfect, since it’s assuming the first and last aren’t double. I’m also using the tag “double paged” to trigger this mode by default, but not sure what the best approach would be (manual setting or auto detect by tag). I would like to do a pull request eventually.

As for display order I used a JSON to reference which page order is which/hidden