You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/requesthandler/RequestHandler_General.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
33
33
* @responseField obsWebSocketVersion | String | Current obs-websocket version
34
34
* @responseField rpcVersion | Number | Current latest obs-websocket RPC version
35
35
* @responseField availableRequests | Array<String> | Array of available RPC requests for the currently negotiated RPC version
36
-
* @responseField supportedImageFormats | Array<String> | Image formats available in `GetSourceScreenshot`and `SaveSourceScreenshot` requests.
36
+
* @responseField supportedImageFormats | Array<String> | Image formats available in `GetSourceScreenshot`, `SaveSourceScreenshot` and `GetStreamScreenshot` requests.
37
37
* @responseField platform | String | Name of the platform. Usually `windows`, `macos`, or `ubuntu` (linux flavor). Not guaranteed to be any of those
38
38
* @responseField platformDescription | String | Description of the platform, like `Windows 10 (10.0)`
* The `imageWidth` and `imageHeight` parameters are treated as "scale to inner", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept.
254
+
* If `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the stream.
255
+
*
256
+
* @requestField imageFormat | String | Image compression format to use. Use `GetVersion` to get compatible image formats
257
+
* @requestField ?imageWidth | Number | Width to scale the screenshot to | >= 8, <= 4096 | Stream value is used
258
+
* @requestField ?imageHeight | Number | Height to scale the screenshot to | >= 8, <= 4096 | Stream value is used
259
+
* @requestField ?imageCompressionQuality | Number | Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) | >= -1, <= 100 | -1
0 commit comments