Handles the processing of every JPEG marker present in the file transformed by RasterCodecs.Transform.
public delegate Leadtools.Codecs.CodecsTransformMarkerAction CodecsTransformMarkerCallback(
int id,
Leadtools.RasterNativeBuffer buffer,
Leadtools.Codecs.CodecsTransformFlags transform
)
Public Delegate Function CodecsTransformMarkerCallback( _
ByVal id As Integer, _
ByVal buffer As Leadtools.RasterNativeBuffer, _
ByVal transform As Leadtools.Codecs.CodecsTransformFlags _
) As Leadtools.Codecs.CodecsTransformMarkerAction
public delegate Leadtools.Codecs.CodecsTransformMarkerAction CodecsTransformMarkerCallback(
int id,
Leadtools.RasterNativeBuffer buffer,
Leadtools.Codecs.CodecsTransformFlags transform
)
typedef LTCodecsTransformMarkerAction (^LTCodecsTransformMarkerCallback)(NSInteger markerId, unsigned char *buffer, NSUInteger length, LTCodecsTransformFlags transform)
public CodecsTransformMarkerAction OnCodecsTransformMarkerCallback(int id, RasterNativeBuffer buffer, CodecsTransformFlags transform)
CodecsTransformMarkerCallback(
id ,
buffer ,
transform
)
public delegate Leadtools.Codecs.CodecsTransformMarkerAction CodecsTransformMarkerCallback(
int id,
Leadtools.RasterNativeBuffer buffer,
Leadtools.Codecs.CodecsTransformFlags transform
)
id
ID of the JPEG marker. The JPEG markers are uniquely identified by a byte value. Possible values are 1 to 254. (0 and 255 are not allowed.)
buffer
A pointer to the memory buffer containing the marker data. RasterNativeBuffer.Length contains the size in bytes of the JPEG marker. The size will be less than 65535. If this value is 0, then the marker does not have any extra data and buffer should be ignored.
transform
Flags that indicate the transform to be performed. These are the same flags passed to the RasterCodecs.Transform method.
A CodecsTransformMarkerAction enumeration member that determines the action taken by the RasterCodecs after the callback is called. Possible values are:
Value | Description |
---|---|
CodecsTransformMarkerAction.Default | Successful. The default processing for this marker can be performed |
CodecsTransformMarkerAction.Ignore | Successful. Do not process this marker and do not write it to the file |
CodecsTransformMarkerAction.Abort | Abort the process and do not transform anymore markers |
For an example, refer to RasterCodecs.Transform.
Products |
Support |
Feedback: CodecsTransformMarkerCallback Delegate - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.