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

Responsive cache generation #357

Open
wpferguson opened this issue Aug 11, 2021 · 1 comment
Open

Responsive cache generation #357

wpferguson opened this issue Aug 11, 2021 · 1 comment
Assignees

Comments

@wpferguson
Copy link
Member

It is now possible to automatically, using events, selectively update the mipmap cache using the new API call dt_lua_image_t:generate_cache().

The script needs to register events for all actions that can change the image and regenerate the required cache images based on screen size and darktable settings.

@wpferguson wpferguson self-assigned this Jan 4, 2022
@ChristianBirzer
Copy link

As I mentioned in #381 I'm currently trying to write a script that creates the mipmap cache of selected images.
I wouldn't start it automagically after image changes but trigger it with a button.
My idea is something to have like LR's 'build previews' command to allow the following workflow:

  • import images
  • calculate all previews/mipmap cache
  • go for a coffee or two
  • come back and work at full speed

Since I'm completely new to dt development, all I can do is to try my best 🤣. I'm not sure if it fits your needs and quality level. On the other hand, if you already begun working on it I don't have to do the same...

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

2 participants