Parameters for the exported image.
cors? string (default: anonymous)
Specifies how cross-origin images have to be requested.
Requesting images without CORS will "taint" the canvas. It will still be visible on the page but to prevent information disclosure, the script access to it will be disabled. By default, they are anonymously requested.
The available options are:
"anonymous"—Does not send user credentials as part of the request.
"use-credentials"—Sends credentials as part of the request.
false—Fetches images without CORS, possibly tainting the canvas.
For more details, refer to the
The height of the exported image. Defaults to the scene height.
The width of the exported image. Defaults to the scene width.