Constructs a Jpeg-object from memory.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public Jpeg(
	byte[] img,
	float width,
	float height
)
Visual Basic
Public Sub New ( _
	img As Byte(), _
	width As Single, _
	height As Single _
)
Visual C++
public:
Jpeg(
	array<unsigned char>^ img, 
	float width, 
	float height
)

Parameters

img
Type: array<System..::..Byte>[]()[][]
the memory image.
width
Type: System..::..Single
the width you want the image to have
height
Type: System..::..Single
the height you want the image to have

See Also