LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Convert8(IntPtr,IntPtr,Int32,RasterColorSpaceFormat8,RasterColorSpaceFormat8) Method






An unmanaged pointer containing the source image data
An array of bytes to be filled with the converted image data
Image width, in pixels
The format of the input data
The desired format of the converted data
Converts 8-bit unmanaged image data from one color space to another. .NET support
Syntax
public static void Convert8( 
   IntPtr inBuffer,
   IntPtr outBuffer,
   int width,
   RasterColorSpaceFormat8 inFormat,
   RasterColorSpaceFormat8 outFormat
)
'Declaration
 
Public Overloads Shared Sub Convert8( _
   ByVal inBuffer As IntPtr, _
   ByVal outBuffer As IntPtr, _
   ByVal width As Integer, _
   ByVal inFormat As RasterColorSpaceFormat8, _
   ByVal outFormat As RasterColorSpaceFormat8 _
) 
'Usage
 
Dim inBuffer As IntPtr
Dim outBuffer As IntPtr
Dim width As Integer
Dim inFormat As RasterColorSpaceFormat8
Dim outFormat As RasterColorSpaceFormat8
 
RasterColorSpace.Convert8(inBuffer, outBuffer, width, inFormat, outFormat)
public static void Convert8( 
   IntPtr inBuffer,
   IntPtr outBuffer,
   int width,
   RasterColorSpaceFormat8 inFormat,
   RasterColorSpaceFormat8 outFormat
)
 function Leadtools.RasterColorSpace.Convert8(IntPtr,IntPtr,Int32,RasterColorSpaceFormat8,RasterColorSpaceFormat8)( 
   inBuffer ,
   outBuffer ,
   width ,
   inFormat ,
   outFormat 
)
public:
static void Convert8( 
   IntPtr inBuffer,
   IntPtr outBuffer,
   int width,
   RasterColorSpaceFormat8 inFormat,
   RasterColorSpaceFormat8 outFormat
) 

Parameters

inBuffer
An unmanaged pointer containing the source image data
outBuffer
An array of bytes to be filled with the converted image data
width
Image width, in pixels
inFormat
The format of the input data
outFormat
The desired format of the converted data
Example
For an example, refer to RasterColorSpace.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterColorSpace Class
RasterColorSpace Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.