←Select platform

Convert8(byte[],int,byte[],int,int,RasterColorSpaceFormat8,RasterColorSpaceFormat8) Method

Summary

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

Syntax

C#
VB
C++
Public Overloads Shared Sub Convert8( _ 
   ByVal inBuffer() As Byte, _ 
   ByVal inBufferOffset As Integer, _ 
   ByVal outBuffer() As Byte, _ 
   ByVal outBufferOffset As Integer, _ 
   ByVal width As Integer, _ 
   ByVal inFormat As Leadtools.RasterColorSpaceFormat8, _ 
   ByVal outFormat As Leadtools.RasterColorSpaceFormat8 _ 
)  

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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly