public static void ConvertDirect(
ConversionColorFormat srcFormat,
ConversionColorFormat destFormat,
IntPtr srcBuffer,
long srcBufferOffset,
IntPtr destBuffer,
long destBufferOffset,
int width,
int height,
int inAlign,
int outAlign
)
public:
static void ConvertDirect(
ConversionColorFormat srcFormat,
ConversionColorFormat destFormat,
IntPtr srcBuffer,
int64 srcBufferOffset,
IntPtr destBuffer,
int64 destBufferOffset,
int width,
int height,
int inAlign,
int outAlign
)
def ConvertDirect(self,srcFormat,destFormat,srcBuffer,srcBufferOffset,destBuffer,destBufferOffset,width,height,inAlign,outAlign):
srcFormat
Format of the input data.
destFormat
Format of the output data.
srcBuffer
A pointer to the input buffer.
srcBufferOffset
Offset to the first byte of the srcBuffer data buffer.
destBuffer
A pointer to the buffer that will hold the converted data.
destBufferOffset
Offset to the first byte of the destBuffer data buffer.
width
Width of pixels to be processed.
height
Height of pixels to be processed.
inAlign
Each scanline in the input buffer is a multiple of inAlign bytes.
outAlign
Each scan line in the output buffer is a multiple of outAlign bytes.
There is no need to call Start and Stop methods to initialize or stop the conversion engine.
Converting from any color space to YCCK color space is currently not supported.
For more information about Alignment Parameters, refer to Alignment Parameters.
To convert to the Y41P type the input buffer length must be multiple of 8
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document