Empty Image

The emptyimage Image Provider renders a colored rectangular image.

Field name Value Description
Required fields
type ImageProvider.Type emptyimage
color Color A Color definition for the background color
Optional fields
width Integer The width of the rendered rectangle. If not specified the width will be inferred from the visual track below or from the movie if there is no other visual track below.
height Integer The height of the rendered rectangle. If not specified the height will be inferred from the visual track below or from the movie if there is no other visual track below.

The following example movie renders a blue small rectangle on gray background for 200 frames.

Example

{
    "scenes": [
        {
            "numframes": 200,
            "tracks": [
                {
                    "content": {
                        "type": "emptyimage",
                        "color": {
                            "red": 50,
                            "green": 50,
                            "blue": 50,
                            "alpha": 255
                        }
                    }
                },
                
                {
                    "content": {
                        "type": "emptyimage",
                        "width": 200,
                        "height": 200,
                        "color": {
                            "red": 12,
                            "green": 168,
                            "blue": 212,
                            "alpha": 255
                        }
                    },
                    "x": 100,
                    "y": 100
                }
                
            ]
        }
    ],
    "params": {
        "vparams": {
            "width": 640,
            "height": 480
        }
    }
}  

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.