![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterImage Class > CreateFromYUVData Method : CreateFromYUVData(IntPtr,Int64,RasterYUVFormat,Int32,Int32,Int32) Method |
The number of bits per pixel.
Valid values are 8, 24, and 32.
public static RasterImage CreateFromYUVData( IntPtr buffer, long bufferCount, RasterYUVFormat yuvFormat, int width, int height, int bitsPerPixel )
'Declaration
Public Overloads Shared Function CreateFromYUVData( _ ByVal buffer As IntPtr, _ ByVal bufferCount As Long, _ ByVal yuvFormat As RasterYUVFormat, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal bitsPerPixel As Integer _ ) As RasterImage
'Usage
Dim buffer As IntPtr Dim bufferCount As Long Dim yuvFormat As RasterYUVFormat Dim width As Integer Dim height As Integer Dim bitsPerPixel As Integer Dim value As RasterImage value = RasterImage.CreateFromYUVData(buffer, bufferCount, yuvFormat, width, height, bitsPerPixel)
public static RasterImage CreateFromYUVData( IntPtr buffer, long bufferCount, RasterYUVFormat yuvFormat, int width, int height, int bitsPerPixel )
function Leadtools.RasterImage.CreateFromYUVData(IntPtr,Int64,RasterYUVFormat,Int32,Int32,Int32)( buffer , bufferCount , yuvFormat , width , height , bitsPerPixel )
public: static RasterImage^ CreateFromYUVData( IntPtr buffer, int64 bufferCount, RasterYUVFormat yuvFormat, int width, int height, int bitsPerPixel )
The number of bits per pixel.
Valid values are 8, 24, and 32.
For more information, see SetYUVData