←Select platform

Convert8(IntPtr,IntPtr,int,RasterColorSpaceFormat8,RasterColorSpaceFormat8) Method

Summary

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

Syntax

C#
VB
C++
public static void Convert8( 
   IntPtr inBuffer, 
   IntPtr outBuffer, 
   int width, 
   RasterColorSpaceFormat8 inFormat, 
   RasterColorSpaceFormat8 outFormat 
) 
Public Overloads Shared Sub Convert8( _ 
   ByVal inBuffer As IntPtr, _ 
   ByVal outBuffer As IntPtr, _ 
   ByVal width As Integer, _ 
   ByVal inFormat As Leadtools.RasterColorSpaceFormat8, _ 
   ByVal outFormat As Leadtools.RasterColorSpaceFormat8 _ 
)  

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

Leadtools Assembly