mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Merge pull request #384 from BarryCarlyon/TakeSourceScreenshotDocs
Take scene screenshot
This commit is contained in:
@ -1349,7 +1349,7 @@ HandlerResponse WSRequestHandler::HandleSetSourceFilterSettings(WSRequestHandler
|
|||||||
* Clients can specify `width` and `height` parameters to receive scaled pictures. Aspect ratio is
|
* Clients can specify `width` and `height` parameters to receive scaled pictures. Aspect ratio is
|
||||||
* preserved if only one of these two parameters is specified.
|
* preserved if only one of these two parameters is specified.
|
||||||
*
|
*
|
||||||
* @param {String} `sourceName` Source name
|
* @param {String} `sourceName` Source name. Note that, since scenes are also sources, you can also provide a scene name.
|
||||||
* @param {String (optional)} `embedPictureFormat` Format of the Data URI encoded picture. Can be "png", "jpg", "jpeg" or "bmp" (or any other value supported by Qt's Image module)
|
* @param {String (optional)} `embedPictureFormat` Format of the Data URI encoded picture. Can be "png", "jpg", "jpeg" or "bmp" (or any other value supported by Qt's Image module)
|
||||||
* @param {String (optional)} `saveToFilePath` Full file path (file extension included) where the captured image is to be saved. Can be in a format different from `pictureFormat`. Can be a relative path.
|
* @param {String (optional)} `saveToFilePath` Full file path (file extension included) where the captured image is to be saved. Can be in a format different from `pictureFormat`. Can be a relative path.
|
||||||
* @param {int (optional)} `width` Screenshot width. Defaults to the source's base width.
|
* @param {int (optional)} `width` Screenshot width. Defaults to the source's base width.
|
||||||
|
Reference in New Issue
Block a user