Dynamic overlay API : overlay image scaling #770
-
I use the Dynamic overlay API to set up image overlays. I want the size of the overlay image to be scaled according to the output video size. However, the output from the camera will be either larger or smaller depending on the video size. I want to solve this problem. Is there a way to enable scaling? https://www.axis.com/vapix-library/subjects/t10175981/section/t10007638/display?section=t10007638-t10119664 FYI |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @a573net, But when you use the list method the "scalable": true is there by default. It may be due to the hardware dependencies. It looks like it is impossible to control this parameter at the moment using the Dynamic overlay APIs. Let me check if I can find more details about this. |
Beta Was this translation helpful? Give feedback.
Hi @a573net ,
All text overlays are scalable by default (although there is a minimal threshold so that the text will never be too small), and it is not possible to create a text overlay that is not scalable.
It would be interesting to know if there is any use case that a non-scalable text overlay is desired?
To have a scalable image overlay, that can be created by uploading an image overlay and mark it as “scale to resolution” (or use corresponding CGI).