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
floatthe width you want the image to have
height
floatthe height you want the image to have
Jpeg(Uri)
Constructs a Jpeg-object, using an Uri.
public Jpeg(Uri uri)
Parameters
uri
Urithe 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
Imagea Image
Fields
JfifId
public static readonly byte[] JfifId
Field Value
- byte[]
M_APP0
public const int M_APP0 = 224
Field Value
M_APP2
public const int M_APP2 = 226
Field Value
M_APPE
public const int M_APPE = 238
Field Value
NOPARAM_MARKER
This is a type of marker.
public const int NOPARAM_MARKER = 2
Field Value
NOT_A_MARKER
This is a type of marker.
public const int NOT_A_MARKER = -1
Field Value
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
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
ValidMarkers
Acceptable Jpeg markers.
public static readonly int[] ValidMarkers
Field Value
- int[]