你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImageFormat.CreateRgbFormat(Int32, Int32, Int32, Int32) 方法

定义

根据 RGB 值创建 ImageFormat

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

参数

bitsPerPixel
Int32
width
Int32
height
Int32
stride
Int32

返回

A ImageFormat

适用于