iText 5

PngWriter

PngWriter Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.codec iTextSharp.text.pdf.codec.PngWriter[[PngWriter]] end

Members

Methods

Public methods

Returns

Name

void

OutputInt

(int n)

void

WriteChunk

(byte``[] chunkType, byte``[] data)

void

WriteData

(byte``[] data, int stride)

void

WriteEnd

()

void

WriteHeader

(int width, int height, int bitDepth, int colorType)

void

WriteIccProfile

(byte``[] data)

void

WritePalette

(byte``[] data)

Public Static methods

Returns

Name

void

OutputInt

(int n, Stream s)

Details

Constructors

PngWriter

Source code

public PngWriter(Stream outp)

Arguments

Type

Name

Description

Stream

outp

Methods

WriteHeader

Source code

public virtual void WriteHeader(int width, int height, int bitDepth, int colorType)

Arguments

Type

Name

Description

int

width

int

height

int

bitDepth

int

colorType

WriteEnd

Source code

public virtual void WriteEnd()

WriteData

Source code

public virtual void WriteData(byte[] data, int stride)

Arguments

Type

Name

Description

byte``[]

data

int

stride

WritePalette

Source code

public virtual void WritePalette(byte[] data)

Arguments

Type

Name

Description

byte``[]

data

WriteIccProfile

Source code

public virtual void WriteIccProfile(byte[] data)

Arguments

Type

Name

Description

byte``[]

data

OutputInt [1/2]

Source code

public virtual void OutputInt(int n)

Arguments

Type

Name

Description

int

n

OutputInt [2/2]

Source code

public static void OutputInt(int n, Stream s)

Arguments

Type

Name

Description

int

n

Stream

s

WriteChunk

Source code

public virtual void WriteChunk(byte[] chunkType, byte[] data)

Arguments

Type

Name

Description

byte``[]

chunkType

byte``[]

data

Generated with ModularDoc