C# Class iTextSharp.text.Jpeg

An Jpeg is the representation of a graphic element (JPEG) that has to be inserted into the document
Inheritance: Image, IElement
ファイルを表示 Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Properties

Property Type Description
JFIF_ID byte[]
NOPARAM_MARKERS int[]
PS_8BIM_RESO byte[]
UNSUPPORTED_MARKERS int[]
VALID_MARKERS int[]

Public Methods

Method Description
Jpeg ( Image image ) : System

Construct a Jpeg-object, using a Image

Jpeg ( Uri Uri ) : System

Constructs a Jpeg-object, using an Uri.

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

Jpeg ( byte img ) : System

Constructs a Jpeg-object from memory.

Jpeg ( byte img, float width, float height ) : System

Constructs a Jpeg-object from memory.

Private Methods

Method Description
GetShort ( Stream istr ) : int

Reads a short from the Stream.

GetShortInverted ( Stream istr ) : int

Reads an inverted short from the Stream.

MarkerType ( int marker ) : int

Returns a type of marker.

ProcessParameters ( ) : void

This method checks if the image is a valid JPEG and processes some parameters.

Method Details

Jpeg() public method

Construct a Jpeg-object, using a Image
public Jpeg ( Image image ) : System
image Image a Image
return System

Jpeg() public method

Constructs a Jpeg-object, using an Uri.
Deprecated, use Image.GetInstance(...) to create an Image
public Jpeg ( Uri Uri ) : System
Uri System.Uri the Uri where the image can be found
return System

Jpeg() public method

Constructs a Jpeg-object from memory.
public Jpeg ( byte img ) : System
img byte the memory image
return System

Jpeg() public method

Constructs a Jpeg-object from memory.
public Jpeg ( byte img, float width, float height ) : System
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
return System

Property Details

JFIF_ID public_oe static_oe property

public static byte[] JFIF_ID
return byte[]

NOPARAM_MARKERS public_oe static_oe property

Jpeg markers without additional parameters.
public static int[] NOPARAM_MARKERS
return int[]

PS_8BIM_RESO public_oe static_oe property

public static byte[] PS_8BIM_RESO
return byte[]

UNSUPPORTED_MARKERS public_oe static_oe property

Unsupported Jpeg markers.
public static int[] UNSUPPORTED_MARKERS
return int[]

VALID_MARKERS public_oe static_oe property

Acceptable Jpeg markers.
public static int[] VALID_MARKERS
return int[]