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

Are the images extracted from the CBR o CBZ? #198

Closed
vivadavid opened this issue Feb 9, 2024 · 2 comments
Closed

Are the images extracted from the CBR o CBZ? #198

vivadavid opened this issue Feb 9, 2024 · 2 comments
Assignees
Labels

Comments

@vivadavid
Copy link

vivadavid commented Feb 9, 2024

Hi,

I have recently found out that MComix extracts the images contained in a CBR or CBZ in order to view the pages of the comic and I was wondering if OpenComic does the same thing. I thought images inside a ZIP or a RAR file could be viewed without having to extract anything, but maybe I misunderstood this and it's inevitable.

My main concern is to avoid unnecessary writing on the SSD of my laptop.

Thanks in advance for the information.

@ollm
Copy link
Owner

ollm commented Feb 9, 2024

Hi.

OpenComic also extracts images from cbr, cbz, etc to a temporary folder as needed, this extraction is only done once if you have "Maximum temporary files" configured (4GB by default), so if you open the same file again it will not be extracted and will be read from the temporary folder if it is still there over there (Oldest files are deleted from the temporary folder when the maximum size is reached)

I thought images inside a ZIP or a RAR file could be viewed without having to extract anything

zip, rar, etc can extract files to memory instead of disk, but this is complicated to implement and there are some OpenComic functions that depend currently on extracting the images/files, such as generating thumbnails.

Captura desde 2024-02-09 14-21-59

@ollm ollm self-assigned this Feb 9, 2024
@ollm ollm added the question label Feb 9, 2024
@vivadavid
Copy link
Author

Thank you for the quick reply, @ollm !

@ollm ollm closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants