ImageEn, unit iexBitmaps

TIEMarkerList.AddMarker

TIEMarkerList.AddMarker


Declaration

function AddMarker(marker: byte; data: PAnsiChar; datalen: word): integer;


Description

Adds a new marker to the list. Marker can be from JPEG_APP0 to JPEG_APP15 and JPEG_COM.
AddMarker returns the index of the new marker, where the first marker in the list has an index of 0.
A single JPEG file can contains multiple instances of the same marker.