Still Image

The stillimage Image Provider loads a static image from disk once. The current context (frame number, session or other variables) is evaluated only once and the loaded image is cached for the duration of the render session.

Field name Value Description
Required fields
type ImageProvider.Type stillimage
source FileLocation A reference to an image on local disk

Example

{
    "scenes": [
        {
            "numframes": 200,
            "tracks": [
                {
                    "content": {
                        "type": "emptyimage"
                    }
                },
                
                {
                    "content": {
                        "type": "stillimage",
                        "source": {
                            "path": "userdata/cat.png"
                        }
                    },
                    "transformations":[
                        {
                            "type": "scalingcrop",
                            "specifiedside": "h",
                            "fixedsidesize": 360
                        }
                    ],
                    "centerx": true
                }
            ]
        }
    ],
    "params": {
        "vparams": {
            "width": 640,
            "height": 360
        }
    }
}   

source

The source parameter denotes a FileLocation object indicating the location of the image in the filesystem.

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