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 |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
() |
|
|
( |
|
|
( |
|
|
( |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
( |
Details
Constructors
PngWriter
Source code
public PngWriter(Stream outp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outp |
Methods
WriteHeader
Source code
public virtual void WriteHeader(int width, int height, int bitDepth, int colorType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
width |
|
|
|
height |
|
|
|
bitDepth |
|
|
|
colorType |
WriteEnd
Source code
public virtual void WriteEnd()
WriteData
Source code
public virtual void WriteData(byte[] data, int stride)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
data |
|
|
|
stride |
WritePalette
Source code
public virtual void WritePalette(byte[] data)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
data |
WriteIccProfile
Source code
public virtual void WriteIccProfile(byte[] data)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
data |
OutputInt [1/2]
Source code
public virtual void OutputInt(int n)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
n |
OutputInt [2/2]
Source code
public static void OutputInt(int n, Stream s)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
n |
|
|
|
s |
WriteChunk
Source code
public virtual void WriteChunk(byte[] chunkType, byte[] data)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chunkType |
|
|
|
data |
Generated with ModularDoc