public delegate bool CodecsCompressDataCallback(
int width,
int height,
int bitsPerPixel,
RasterByteOrder order,
RasterViewPerspective viewPerspective,
RasterNativeBuffer buffer
)
Public Delegate Function CodecsCompressDataCallback( _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal bitsPerPixel As Integer, _
ByVal order As RasterByteOrder, _
ByVal viewPerspective As RasterViewPerspective, _
ByVal buffer As RasterNativeBuffer _
) As Boolean
typedef BOOL (^LTCodecsCompressDataCallback)(NSUInteger width, NSUInteger height, NSUInteger bitsPerPixel, LTRasterByteOrder order, LTRasterViewPerspective viewPerspective, unsigned char *data, NSUInteger dataLength)compress
public boolean OnCodecsCompressDataCallback(int width, int height, int bitsPerPixel, RasterByteOrder order, RasterViewPerspective viewPerspective, RasterNativeBuffer buffer)
public delegate bool CodecsCompressDataCallback(
int width,
int height,
int bitsPerPixel,
RasterByteOrder order,
RasterViewPerspective viewPerspective,
RasterNativeBuffer buffer
)
width
The image being compressed width in pixels.
height
The image being compressed height in pixels.
bitsPerPixel
The image being compressed bits/pixel value.
order
The image being compressed byte order.
viewPerspective
The image being compressed view perspective value.
buffer
A pointer to the memory buffer containing compressed data.
true to continue compressing the data, false to abort.
The CodecsCompressDataCallback delegate is passed to RasterCodecs.StartCompress and will get called when compressed data is available.
For an example, refer to RasterCodecs.StartCompress.
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