←Select platform

Convert16(byte[],int,byte[],int,int,RasterColorSpaceFormat16,RasterColorSpaceFormat16) Method

Summary

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

Syntax
C#
VB
C++
Public Overloads Shared Sub Convert16( _ 
   ByVal inBuffer() As Byte, _ 
   ByVal inBufferOffset As Integer, _ 
   ByVal outBuffer() As Byte, _ 
   ByVal outBufferOffset As Integer, _ 
   ByVal width As Integer, _ 
   ByVal inFormat As RasterColorSpaceFormat16, _ 
   ByVal outFormat As RasterColorSpaceFormat16 _ 
)  
public: 
static void Convert16(  
   array<byte>^ inBuffer, 
   int inBufferOffset, 
   array<byte>^ outBuffer, 
   int outBufferOffset, 
   int width, 
   RasterColorSpaceFormat16 inFormat, 
   RasterColorSpaceFormat16 outFormat 
)  

Parameters

inBuffer
An array of bytes containing the source image data

inBufferOffset
Zero-based index into inBuffer

outBuffer
An array of bytes to be filled with the converted image data

outBufferOffset
Zero-based index into outBuffer

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.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly