imVideoCaptureSetFormat

Changes the video format of the connected device. \n * Should NOT work for DV devices. Use \ref imVideoCaptureSetImageSize only. \n * Use -1 to return the current format, in this case returns -1 if failed. \n * When the format is changed in the dialog, for some formats * the returned format is the preferred format, not the current format. \n * This will not affect color_mode of the capture image. \n * Returns zero if failed. * * \verbatim vc:SetFormat([format: number]) -> error: boolean | format: number [in Lua 5] \endverbatim * \ingroup capture

extern (C) @safe nothrow
int
imVideoCaptureSetFormat

Meta