DarkThumbs icon indicating copy to clipboard operation
DarkThumbs copied to clipboard

Does DarkThumbs need to completely unzip the files it supports?

Open vivadavid opened this issue 7 months ago • 2 comments

Hi,

This is not a message to report an issue, but to ask a question. I was wondering if DarkThumbs needs to extract the whole content of the files it supports in order to display the thumbnail.

I'd be worried if, for example, a CBR file needed to be compleletly unzipped, and not only the first image, as this would be imply having to write a lot of data on your SSD.

I had the same concern about comic readers and I got to know that some of them do need to extract the whole content in a temporary folder, while others load the whole comic in RAM.

Thanks in advance for your help.

vivadavid avatar May 19 '25 18:05 vivadavid

The libraries used to support the various archive formats don't require unpacking the entire file, nor do they write anything to disk. The metadata is read to determine the contents of the archive file, scanning (e.g.) for files that start with the words "cover", and the file selected as the candidate for the thumbnail is read and extracted in memory (not to disk).

The Windows thumbnail cache is on your disk, and that is updated by the File Explorer in this process.

Hope that helps!

fire-eggs avatar May 19 '25 19:05 fire-eggs

Thank you for the thorough explanation. It helped a lot. :-)

vivadavid avatar May 19 '25 21:05 vivadavid