Class PngEncoder
Syntax
Methods
Decode(Byte[], ref Int32, ref Int32, ref PngEncoder.ColorType, ref Int32)
Declaration
public static byte[] Decode(byte[] raw, ref int width, ref int height, ref PngEncoder.ColorType colorType, ref int bitDepth)
Parameters
Returns
Encode(Byte[], Int32, Int32, PngEncoder.ColorType, Int32, PngEncoder.PngParam)
Declaration
public static byte[] Encode(byte[] raw, int width, int height, PngEncoder.ColorType colorType, int bitDepth, PngEncoder.PngParam pngParam = PngEncoder.PngParam.None)
Parameters
Returns
GetTypeAndDepth(Int32, Int32, ref Int32)
Declaration
public static PngEncoder.ColorType GetTypeAndDepth(int blocksize, int componentCount, ref int bitDepth)
Parameters
Returns
Inspect(Byte[], ref Int32, ref Int32, ref PngEncoder.ColorType, ref Int32, ref Int32)
Declaration
public static int Inspect(byte[] raw, ref int width, ref int height, ref PngEncoder.ColorType colorType, ref int bitDepth, ref int outsize)
Parameters
Returns