Is this a feature relevant to companion itself, and not a specific module?
Is there an existing issue for this?
Describe the feature
An API endpoint, e.g. for HTTP /api/image-library/<name>/png64, that gets the named image's png64 string and, more importantly, has a ?png64= parameter that accepts posted strings.
This is related to the remote images discussion in #4226 but marginal enough I think to warrant a separate thread. Feel free to close if this should be brought there instead.
Usecases
I rely heavily on the (admittedly undocumented) /style?png64= parameter to update button thumbnails via external scripts. In the current v5 beta, this parameter still updates a button's bottommost image element, but only for buttons created pre-v5. I'll get by as long as that continues to function, but if I could instead point the script to an item in the Image Library, I'd just have the buttons reference that instead.
I don't know what the plans are for the /style resource going into v5, so maybe something like this is already being considered along with its parameters for text and color
Is this a feature relevant to companion itself, and not a specific module?
Is there an existing issue for this?
Describe the feature
An API endpoint, e.g. for HTTP
/api/image-library/<name>/png64, that gets the named image's png64 string and, more importantly, has a?png64=parameter that accepts posted strings.This is related to the remote images discussion in #4226 but marginal enough I think to warrant a separate thread. Feel free to close if this should be brought there instead.
Usecases
I rely heavily on the (admittedly undocumented)
/style?png64=parameter to update button thumbnails via external scripts. In the current v5 beta, this parameter still updates a button's bottommost image element, but only for buttons created pre-v5. I'll get by as long as that continues to function, but if I could instead point the script to an item in the Image Library, I'd just have the buttons reference that instead.I don't know what the plans are for the
/styleresource going into v5, so maybe something like this is already being considered along with its parameters fortextandcolor