FrameFormat.CreateRgbFormat(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a FrameFormat from RGB values
public static Azure.AI.Vision.Common.FrameFormat CreateRgbFormat (int bitsPerPixel, int width, int height, int stride = 0);
static member CreateRgbFormat : int * int * int * int -> Azure.AI.Vision.Common.FrameFormat
Public Shared Function CreateRgbFormat (bitsPerPixel As Integer, width As Integer, height As Integer, Optional stride As Integer = 0) As FrameFormat
Parameters
- bitsPerPixel
- Int32
- width
- Int32
- height
- Int32
- stride
- Int32
Returns
A FrameFormat