Table of Contents

Class Jpeg

Namespace
iTextSharp.text
Assembly
iTextSharp.LGPLv2.Core.dll

An Jpeg is the representation of a graphic element (JPEG) that has to be inserted into the document

public class Jpeg : Image, IElement
Inheritance
Jpeg
Implements
Inherited Members

Constructors

Jpeg(byte[])

Constructs a Jpeg-object from memory.

public Jpeg(byte[] img)

Parameters

img byte[]

the memory image

Jpeg(byte[], float, float)

Constructs a Jpeg-object from memory.

public Jpeg(byte[] img, float width, float height)

Parameters

img byte[]

the memory image.

width float

the width you want the image to have

height float

the height you want the image to have

Jpeg(Uri)

Constructs a Jpeg-object, using an Uri.

public Jpeg(Uri uri)

Parameters

uri Uri

the Uri where the image can be found

Remarks

Deprecated, use Image.GetInstance(...) to create an Image

Jpeg(Image)

Constructors

public Jpeg(Image image)

Parameters

image Image

a Image

Fields

JfifId

public static readonly byte[] JfifId

Field Value

byte[]

M_APP0

public const int M_APP0 = 224

Field Value

int

M_APP2

public const int M_APP2 = 226

Field Value

int

M_APPE

public const int M_APPE = 238

Field Value

int

NOPARAM_MARKER

This is a type of marker.

public const int NOPARAM_MARKER = 2

Field Value

int

NOT_A_MARKER

This is a type of marker.

public const int NOT_A_MARKER = -1

Field Value

int

NoparamMarkers

Jpeg markers without additional parameters.

public static readonly int[] NoparamMarkers

Field Value

int[]

UNSUPPORTED_MARKER

This is a type of marker.

public const int UNSUPPORTED_MARKER = 1

Field Value

int

UnsupportedMarkers

Unsupported Jpeg markers.

public static readonly int[] UnsupportedMarkers

Field Value

int[]

VALID_MARKER

This is a type of marker.

public const int VALID_MARKER = 0

Field Value

int

ValidMarkers

Acceptable Jpeg markers.

public static readonly int[] ValidMarkers

Field Value

int[]