←Select platform

Convert16(IntPtr,IntPtr,int,RasterColorSpaceFormat16,RasterColorSpaceFormat16) Method

Summary

Converts 16-bit unmanaged image data from one color space to another.

Syntax
C#
VB
C++
public static void Convert16( 
   IntPtr inBuffer, 
   IntPtr outBuffer, 
   int width, 
   RasterColorSpaceFormat16 inFormat, 
   RasterColorSpaceFormat16 outFormat 
) 
Public Overloads Shared Sub Convert16( _ 
   ByVal inBuffer As IntPtr, _ 
   ByVal outBuffer As IntPtr, _ 
   ByVal width As Integer, _ 
   ByVal inFormat As RasterColorSpaceFormat16, _ 
   ByVal outFormat As RasterColorSpaceFormat16 _ 
)  
public: 
static void Convert16(  
   IntPtr inBuffer, 
   IntPtr outBuffer, 
   int width, 
   RasterColorSpaceFormat16 inFormat, 
   RasterColorSpaceFormat16 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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly