Table of Contents

Class ImageData

Namespace
iText.IO.Image
Assembly
itext.io.dll
public abstract class ImageData
Inheritance
ImageData
Derived
Inherited Members

Constructors

ImageData(byte[], ImageType)

protected ImageData(byte[] bytes, ImageType type)

Parameters

bytes byte[]
type ImageType

ImageData(Uri, ImageType)

protected ImageData(Uri url, ImageType type)

Parameters

url Uri
type ImageType

Fields

XYRatio

protected float XYRatio

Field Value

float

bpc

protected int bpc

Field Value

int

colorEncodingComponentsNumber

Is the number of components used to encode colorspace.

protected int colorEncodingComponentsNumber

Field Value

int

colorTransform

protected int colorTransform

Field Value

int

data

protected byte[] data

Field Value

byte[]

decode

protected float[] decode

Field Value

float[]

decodeParms

protected IDictionary<string, object> decodeParms

Field Value

IDictionary<string, object>

deflated

protected bool deflated

Field Value

bool

dpiX

protected int dpiX

Field Value

int

dpiY

protected int dpiY

Field Value

int

filter

protected string filter

Field Value

string

height

protected float height

Field Value

float

imageAttributes

protected IDictionary<string, object> imageAttributes

Field Value

IDictionary<string, object>

imageMask

protected ImageData imageMask

Field Value

ImageData

imageSize

protected int imageSize

Field Value

int

interpolation

protected bool interpolation

Field Value

bool

inverted

protected bool inverted

Field Value

bool

mask

protected bool mask

Field Value

bool

mySerialId

protected long? mySerialId

Field Value

long?

originalType

protected ImageType originalType

Field Value

ImageType

profile

protected IccProfile profile

Field Value

IccProfile

rotation

protected float rotation

Field Value

float

transparency

protected int[] transparency

Field Value

int[]

url

protected Uri url

Field Value

Uri

width

protected float width

Field Value

float

Methods

CanBeMask()

public virtual bool CanBeMask()

Returns

bool

CanImageBeInline()

Checks if image can be inline

public virtual bool CanImageBeInline()

Returns

bool

if the image can be inline

GetBpc()

public virtual int GetBpc()

Returns

int

GetColorEncodingComponentsNumber()

Gets the number of components used to encode colorspace.

public virtual int GetColorEncodingComponentsNumber()

Returns

int

the number of components used to encode colorspace

GetColorTransform()

public virtual int GetColorTransform()

Returns

int

GetData()

public virtual byte[] GetData()

Returns

byte[]

GetDecode()

public virtual float[] GetDecode()

Returns

float[]

GetDecodeParms()

public virtual IDictionary<string, object> GetDecodeParms()

Returns

IDictionary<string, object>

GetDpiX()

public virtual int GetDpiX()

Returns

int

GetDpiY()

public virtual int GetDpiY()

Returns

int

GetFilter()

public virtual string GetFilter()

Returns

string

GetHeight()

public virtual float GetHeight()

Returns

float

GetImageAttributes()

public virtual IDictionary<string, object> GetImageAttributes()

Returns

IDictionary<string, object>

GetImageMask()

public virtual ImageData GetImageMask()

Returns

ImageData

GetOriginalType()

public virtual ImageType GetOriginalType()

Returns

ImageType

GetProfile()

public virtual IccProfile GetProfile()

Returns

IccProfile

GetRotation()

public virtual float GetRotation()

Returns

float

GetTransparency()

public virtual int[] GetTransparency()

Returns

int[]

GetUrl()

public virtual Uri GetUrl()

Returns

Uri

GetWidth()

public virtual float GetWidth()

Returns

float

GetXYRatio()

public virtual float GetXYRatio()

Returns

float

IsDeflated()

public virtual bool IsDeflated()

Returns

bool

IsInterpolation()

public virtual bool IsInterpolation()

Returns

bool

IsInverted()

public virtual bool IsInverted()

Returns

bool

IsMask()

public virtual bool IsMask()

Returns

bool

IsRawImage()

public virtual bool IsRawImage()

Returns

bool

IsSoftMask()

public virtual bool IsSoftMask()

Returns

bool

MakeMask()

public virtual void MakeMask()

SetBpc(int)

public virtual void SetBpc(int bpc)

Parameters

bpc int

SetColorEncodingComponentsNumber(int)

Sets the number of components used to encode colorspace.

public virtual void SetColorEncodingComponentsNumber(int colorEncodingComponentsNumber)

Parameters

colorEncodingComponentsNumber int

the number of components used to encode colorspace

SetColorTransform(int)

public virtual void SetColorTransform(int colorTransform)

Parameters

colorTransform int

SetDecode(float[])

public virtual void SetDecode(float[] decode)

Parameters

decode float[]

SetDeflated(bool)

public virtual void SetDeflated(bool deflated)

Parameters

deflated bool

SetDpi(int, int)

public virtual void SetDpi(int dpiX, int dpiY)

Parameters

dpiX int
dpiY int

SetFilter(string)

public virtual void SetFilter(string filter)

Parameters

filter string

SetHeight(float)

public virtual void SetHeight(float height)

Parameters

height float

SetImageAttributes(IDictionary<string, object>)

public virtual void SetImageAttributes(IDictionary<string, object> imageAttributes)

Parameters

imageAttributes IDictionary<string, object>

SetImageMask(ImageData)

public virtual void SetImageMask(ImageData imageMask)

Parameters

imageMask ImageData

SetInterpolation(bool)

public virtual void SetInterpolation(bool interpolation)

Parameters

interpolation bool

SetInverted(bool)

public virtual void SetInverted(bool inverted)

Parameters

inverted bool

SetProfile(IccProfile)

public virtual void SetProfile(IccProfile profile)

Parameters

profile IccProfile

SetRotation(float)

public virtual void SetRotation(float rotation)

Parameters

rotation float

SetTransparency(int[])

public virtual void SetTransparency(int[] transparency)

Parameters

transparency int[]

SetUrl(Uri)

public virtual void SetUrl(Uri url)

Parameters

url Uri

SetWidth(float)

public virtual void SetWidth(float width)

Parameters

width float

SetXYRatio(float)

public virtual void SetXYRatio(float XYRatio)

Parameters

XYRatio float