Controls how the transform markers are used when performing a lossless transformation for certain formats.
public void WriteTransformMarker(
int id,
IntPtr data,
int dataLength
)
Public Overloads Sub WriteTransformMarker( _
ByVal id As Integer, _
ByVal data As IntPtr, _
ByVal dataLength As Integer _
)
public:
void WriteTransformMarker(
int id,
IntPtr data,
int dataLength
)
id
The id of the metadata marker.
data
A pointer to unmanaged memory buffer containing the data for the metadata marker.
dataLength
Number of bytes to read from data.
You should use this method to write a certain marker data into the file.
This method can be called only from within the CodecsTransformMarkerCallback passed to the Transform method.
The transform mechanism is as follows:
Note: You can also use WriteTransformMarker to insert your own markers. The marker will be inserted before the current marker. You can call WriteTransformMarker as many times as you wish. Every call to WriteTransformMarker will insert a new marker.
Warning: Incorrect handling of the markers will generate corrupt files! Since some markers contain important information about the image (image width, height, compression method, colorspace, etc), you should use caution when working with markers.
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