Материал из Module developer
module.CreateImage
{{API Function/ru |description= Create a dynamic image with an indicated set of parameters. If some parameters are not indicated, they have default value or save the previous value. An image is created without assiging to a graphic item. It can be used on different popups refering by name. The name of a created image can't be changed, unlike other properties. |constructor= module.CreateImage(Name, Param); |input=
| Name | "Camera 1" | type: String name of a dynamic image (camera) |
| Param | type: Object a set of dynamic image properties
|
|output=
| Object | [object ImagePrototype] | type: Object object of a graphic item (image) |
|JSsample=
// Create image module.CreateImage("Camera 1", {URI: "http://login:pass@host:port/file", Refresh: 0, Demuxer: '', ProbeSize: 0, Param: '', Audio: false, ScaleWidth: 640, ScaleHeight: 480 }); }}
