API Reference
Class
QrPbmRenderer
Renders QR modules to PBM (P4).
Inheritance
- Object
- QrPbmRenderer
Methods
public static Byte[] Render(BitMatrix modules, QrPngRenderOptions opts) #Returns:
Byte[]Renders the QR module matrix to a PBM byte array.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, QrPngRenderOptions opts, String path) #Returns:
StringRenders the QR module matrix to a PBM file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- path System.String
public static String RenderToFile(BitMatrix modules, QrPngRenderOptions opts, String directory, String fileName) #Returns:
StringRenders the QR module matrix to a PBM file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- directory System.String
- fileName System.String
public static Void RenderToStream(BitMatrix modules, QrPngRenderOptions opts, Stream stream) #Returns:
VoidRenders the QR module matrix to a PBM stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- stream System.IO.Stream