Show / Hide Table of Contents

Class JPEGSection

Represents the memory view of a JPEG section. A JPEG section is the data between markers of the JPEG file.

Inheritance
System.Object
JPEGSection
Namespace: ExifLibrary
Assembly: ExifLibrary.dll
Syntax
public class JPEGSection

Constructors

| Improve this Doc View Source

JPEGSection(JPEGMarker)

Constructs a JPEGSection represented by the marker byte.

Declaration
public JPEGSection(JPEGMarker marker)
Parameters
Type Name Description
JPEGMarker marker

The marker byte representing the section.

| Improve this Doc View Source

JPEGSection(JPEGMarker, Byte[], Byte[])

Constructs a JPEGSection represented by the marker byte and containing the given data.

Declaration
public JPEGSection(JPEGMarker marker, byte[] data, byte[] entropydata)
Parameters
Type Name Description
JPEGMarker marker

The marker byte representing the section.

System.Byte[] data

Section data.

System.Byte[] entropydata

Entropy coded data.

Properties

| Improve this Doc View Source

EntropyData

For the SOS and RST markers, this contains the entropy coded data.

Declaration
public byte[] EntropyData { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

Header

Section header as a byte array. This is different from the header definition in JPEG specification in that it does not include the two byte section length.

Declaration
public byte[] Header { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

Marker

The marker byte representing the section.

Declaration
public JPEGMarker Marker { get; }
Property Value
Type Description
JPEGMarker

Methods

| Improve this Doc View Source

ToString()

Returns a string representation of the current section.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current section.

Overrides
System.Object.ToString()
Back to top Copyright © 2019 Özgür Özçıtak