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
Public Static methods
Details
Constructors
PngWriter
Source code
public PngWriter(Stream outp)
Arguments
Type | Name | Description |
---|
Stream | outp | |
Methods
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
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