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

Thumbnails are not cached #1292

Closed
blablablabla opened this issue Feb 21, 2022 · 2 comments
Closed

Thumbnails are not cached #1292

blablablabla opened this issue Feb 21, 2022 · 2 comments

Comments

@blablablabla
Copy link

System information:

  • Windows OS version: Win 10 1809
  • ImageGlass version: 8.5.1.22 x64 [Portable]

To Reproduce

Steps to reproduce the behavior:

  1. Open up a file in a folder with many HEIC files
  2. Wait for thumbnails to generate
  3. Close IG and reopen
  4. Thumbnails are generated once again

Since opening a single HEIC image takes a few seconds (one-two seconds per image on Ryzen 9 5900X with 4.8 GHz turbo) as per this issue, I wanted to browse the HEIC photo library using the Thumbnail bar.

It seems though that the thumbnails for the photos are generated each time ImageGlass is run and they are not cached from one run to another.
Also ImageGlass does not generate thumbnails for pictures which are not currently visible in the thumbnail bar (i.e. if you scroll down in the thumbnail bar, you have to wait for another batch to load). For a bar with 66 images, the thumbnail generation takes about ~22 seconds using about 4-6 cores on the aforemetioned Ryzen).

Thanks!

@fire-eggs fire-eggs changed the title HEIC thumbnails are not cached Thumbnails are not cached Feb 22, 2022
@fire-eggs
Copy link
Collaborator

Thumbnails have never been cached, switching to 'feature request'.

@d2phap d2phap added this to the v9.0 milestone Mar 19, 2022
@d2phap
Copy link
Owner

d2phap commented May 21, 2022

This issue is implemented in the ImageGlass Moon v9.0 beta 1: https://github.com/d2phap/ImageGlass/releases/tag/9.0.1.514.
The cached thumbnails are stored in ThumbnailsCache folder. Maximum cache is set to 100 MB.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants