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
Afficher le fichier Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Méthodes publiques

Свойство Type Description
JFIF_ID byte[]
NOPARAM_MARKERS int[]
PS_8BIM_RESO byte[]
UNSUPPORTED_MARKERS int[]
VALID_MARKERS int[]

Méthodes publiques

Méthode 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

Méthode 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 méthode

Construct a Jpeg-object, using a Image
public Jpeg ( Image image ) : System
image Image a Image
Résultat System

Jpeg() public méthode

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
Résultat System

Jpeg() public méthode

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

Jpeg() public méthode

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
Résultat System

Property Details

JFIF_ID public_oe static_oe property

public static byte[] JFIF_ID
Résultat byte[]

NOPARAM_MARKERS public_oe static_oe property

Jpeg markers without additional parameters.
public static int[] NOPARAM_MARKERS
Résultat int[]

PS_8BIM_RESO public_oe static_oe property

public static byte[] PS_8BIM_RESO
Résultat byte[]

UNSUPPORTED_MARKERS public_oe static_oe property

Unsupported Jpeg markers.
public static int[] UNSUPPORTED_MARKERS
Résultat int[]

VALID_MARKERS public_oe static_oe property

Acceptable Jpeg markers.
public static int[] VALID_MARKERS
Résultat int[]