Skip to content

"Save/cache images for this key" checkbox for key and a "clear image cache for key" action #3891

@semenovnick

Description

@semenovnick

Is this a feature relevant to companion itself, and not a specific module?

  • I believe this to be a feature for companion, and is not specific to a module

Is there an existing issue for this?

  • I have searched for similiar existing issues

Describe the feature

Good afternoon. In my projects, I use a large number of pages filled with key feedback (about 10 pages of 32*4 keys). I see, logically, a sharp increase in CPU usage each time feedback occurs, caused in part by re-rendering key images (as far as I know, only JPEGs are sent to Streamdeck). As far as I know, there is no more or less standard (Nvidia) GPU acceleration for encoding JPEGs. In my projects, and perhaps in many complex ones, the number of truly unique key images is limited (excluding dynamic text), and my suggestion is to add a "Save/cache images for this key" checkbox and a "clear image cache for key" action with the key path as the parameter. which will reduce the load on the CPU (call the render once when unique key properties appear, which are stored, say, in the form of a hash of these properties)

Usecases

Prevent re render already rendered images for reducing CPU usage. Manual image cache control

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions