Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

CreateFromYUVData(IntPtr,Int64,RasterYUVFormat,Int32,Int32,Int32) Method








Buffer that contains the YUV data.
Size of the data buffer pointed to by buffer. If this value is incorrect, this method will throw an exception.
Specifies the YUV data format.
Width of the image in pixels.
Height of the image in pixels.

The number of bits per pixel.

Valid values are 8, 24, and 32.

Creates a new RasterImage using the specified parameters and fills the image using the specified YUV data.
Syntax
'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)
 function Leadtools.RasterImage.CreateFromYUVData(IntPtr,Int64,RasterYUVFormat,Int32,Int32,Int32)( 
   buffer ,
   bufferCount ,
   yuvFormat ,
   width ,
   height ,
   bitsPerPixel 
)

Parameters

buffer
Buffer that contains the YUV data.
bufferCount
Size of the data buffer pointed to by buffer. If this value is incorrect, this method will throw an exception.
yuvFormat
Specifies the YUV data format.
width
Width of the image in pixels.
height
Height of the image in pixels.
bitsPerPixel

The number of bits per pixel.

Valid values are 8, 24, and 32.

Return Value

The newly created RasterImage object.
Remarks

For more information, see SetYUVData

Requirements

Target Platforms

See Also

Reference

RasterImage Class
RasterImage Members
Overload List

Error processing SSI file