Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] cbz (i.e. zip) support #117

Open
leaumar opened this issue Jun 5, 2022 · 0 comments
Open

[FEATURE] cbz (i.e. zip) support #117

leaumar opened this issue Jun 5, 2022 · 0 comments
Labels
🛠️feature request Need to be implemented

Comments

@leaumar
Copy link

leaumar commented Jun 5, 2022

Is your feature request related to a problem? Please describe.
QPV cannot open cbz files, so it can't display common "immutable albums" like comics/manga, event shoots, art commissions, etc

Describe the solution you'd like
QPV should be able to read cbz files by unpacking them in memory (you don't even need to unpack all at once, you can just inflate a zip's items selectively on navigation, it's basically a nested decode step) or to a temp folder. Cbzs are usually treated the same way as a folder to keep navigation between mixed content intuitive, i.e. there's often a hotkey for next image and a separate hotkey for next folder/archive.

Additional context
You can literally make a cbz by just zipping a few images and renaming the extension. It's a great method to keep a set of images together and open an album as a whole in a viewer, on top of several filesystem benefits (transfer/backup speed, atomicity, cover as thumbnail in explorer). I could lend a hand with the code if need be, but mind that last time I wrote c# was in college :p

You could consider cbr (rar), but personally I would boycot rar for being both nonfree and not significantly better than other compressors, it's poison to the ecosystem imo. cb7 (7zip) is a realistic alternative to support imo but it's not nearly as ubiquitous as zip. These 3 are all the cb* types I know of.

@leaumar leaumar added the 🛠️feature request Need to be implemented label Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️feature request Need to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant