'Declaration
Public Delegate Function CodecsCompressDataCallback( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As RasterByteOrder, _
ByVal As RasterViewPerspective, _
ByVal As RasterNativeBuffer _
) As Boolean
'Usage
Dim instance As New CodecsCompressDataCallback(AddressOf HandlerMethod)
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)
Parameters
- 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.
Return Value
true to continue compressing the data, false to abort.