ImageFormat.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 ImageFormat from RGB values
public static Azure.AI.Vision.Common.ImageFormat CreateRgbFormat (int bitsPerPixel, int width, int height, int stride = 0);
static member CreateRgbFormat : int * int * int * int -> Azure.AI.Vision.Common.ImageFormat
Public Shared Function CreateRgbFormat (bitsPerPixel As Integer, width As Integer, height As Integer, Optional stride As Integer = 0) As ImageFormat
Parameters
- bitsPerPixel
- Int32
- width
- Int32
- height
- Int32
- stride
- Int32
Returns
A ImageFormat