Class PngProcessor
Processes PNG imagate data.
Inherited Members
Namespace: Codecrete.SwissQRBill.PixelCanvas
Assembly: Codecrete.SwissQRBill.Generator.dll
Syntax
public class PngProcessor
Constructors
| Edit this page View SourcePngProcessor()
Do not use.
Declaration
protected PngProcessor()
Methods
| Edit this page View SourceInsertDpi(Stream, Stream, int)
Modifies the PNG image data by inserting a "pHYs" chunk indicating the resolution.
Declaration
public static void InsertDpi(Stream source, Stream target, int dpi)
Parameters
Type | Name | Description |
---|---|---|
Stream | source | image data, in PNG format |
Stream | target | stream to write modified image data |
int | dpi | resolution, in pixels per inch |