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

CBR/CBZ performance #32

Open
fire-eggs opened this issue Oct 19, 2021 · 3 comments
Open

CBR/CBZ performance #32

fire-eggs opened this issue Oct 19, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@fire-eggs
Copy link
Owner

The creation of thumbnails for CBR/CBZ files takes a little bit: around one second.

[For me, with a large CBR/CBZ across the network, it can take 5 seconds]

With the sort option ON, the CBR/CBZ logic scans the entire archive to determine the first image alphabetically.

This can be optimized for ZIP [speed up the scan cycle]. Not sure about CBR [unrar isn't very smart].

@fire-eggs fire-eggs added the enhancement New feature or request label Oct 19, 2021
@vivadavid
Copy link

I've done more testing and, if I turn Sorting off, sometimes the right cover is shown, sometimes the wrong one, but I'd say that more often the wrong one.

@vivadavid
Copy link

As for speed, I said somewhere else that each thumbnail takes one second to be produced. I may have exaggerated: it could take one second to produce a couple of covers.

@0Raik
Copy link

0Raik commented Mar 20, 2024

To enhance the speed what I do is instead of "compressing" I tell Winrar to change compression method from "normal" to "store". It makes a .zip file instantly and any application can open it lightning fast as no one has to 'decompress' anything. I do this because the compression method "best" only saves -1% space, takes 21 seconds to complete and takes a lot to decompress for the thumbnailer and any comic viewer. Check this 200 pages manga example:

nope

Not worth it. JPEG and JPG are already a compression method so we gain nothing by compressing less than 1 percent. Only slowness everywhere. If the manga/comic is PNG or even better BMP then yes, compress it. But I only select "store" as my compression method to enjoy the advantage of not having hundred of thousands of images in folders and just some CBZ files around.

To have CBZ files just rename the ZIP file. To mass rename I recommend a renamer like https://www.den4b.com/products/renamer

Enjoy Life.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants