#include "ltwrappr.h"
L_INT pEXT_CALLBACK YourFunction (uMarker, uMarkerSize, pMarkerData, pLEADUserData)
L_UINT uMarker; |
ID of the JPEG marker |
L_UINT uMarkerSize; |
size of the JPEG marker |
L_UCHAR * pMarkerData; |
marker data |
L_VOID * pLEADUserData; |
pointer to additional parameters |
Writes the updated marker data to the destination file.
Parameter |
Description |
uMarker |
ID of the JPEG marker to write. The JPEG markers are uniquely identified by a byte value. Possible values are 1 to 254. (0 and 255 are not allowed.) |
uMarkerSize |
Size of the JPEG marker to write. The size will be less than 65535. If this value is 0, then the marker does not have any extra data. |
pMarkerData |
Pointer to a buffer containing the marker data. This parameter is valid only if the uMarkerSize is > 0. |
pLEADUserData |
Void pointer that was passed to the LFILE::TRANSFORMFILECALLBACK function. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
This is a callback function provided by LEADTOOLS, for writing updated marker data. Any user data required by this callback function is passed to the LFile::TransformFileCallBack function and is in turn passed on to this function.
This function is called only from within the LFile::TransformFileCallBack function.
Please note that this callback function is different from most other LEADTOOLS callback functions. The code for this function resides entirely within LEADTOOLS. No code for this callback function is provided by the user.
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