Class jpeg_marker_struct
Representation of special JPEG marker.
Inheritance
Inherited Members
Namespace: BitMiracle.LibJpeg.Classic
Assembly: BitMiracle.LibJpeg.NET.dll
Syntax
public class jpeg_marker_struct
Remarks
You can't create instance of this class manually. Concrete objects are instantiated by library and you can get them through Marker_list property.
Properties
| Improve this Doc View SourceData
Gets the data associated with the marker.
Declaration
public byte[] Data { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The data associated with the marker. |
Remarks
The length of this array doesn't exceed length_limit
for the particular marker type.
Note that this length excludes the marker length word, whereas the stored representation
within the JPEG file includes it. (Hence the maximum data length is really only 65533.)
Marker
Gets the special marker.
Declaration
public byte Marker { get; }
Property Value
Type | Description |
---|---|
System.Byte | The marker value. |
OriginalLength
Gets the full length of original data associated with the marker.
Declaration
public int OriginalLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The length of original data associated with the marker. |
Remarks
This length excludes the marker length word, whereas the stored representation within the JPEG file includes it. (Hence the maximum data length is really only 65533.)