Class PngProcessor
Processes PNG imagate data.
Inheritance
System.Object
PngProcessor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Codecrete.SwissQRBill.PixelCanvas
Assembly: Codecrete.SwissQRBill.Generator.dll
Syntax
public class PngProcessor
Constructors
| Improve this Doc View SourcePngProcessor()
Do not use.
Declaration
protected PngProcessor()
Methods
| Improve this Doc View SourceInsertDpi(Stream, Stream, Int32)
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 |
---|---|---|
System.IO.Stream | source | image data, in PNG format |
System.IO.Stream | target | stream to write modified image data |
System.Int32 | dpi | resolution, in pixels per inch |