# GetGraphic(Int32, Byte[], Byte[], Boolean) Method Creates 2-color PNG of the QR code, using 1-bit indexed color. Accepts 3-byte RGB colors for normal images and 4-byte RGBA-colors for transparent images. ## Definition **Namespace:** QRCoder.Core **Assembly:** QRCoder.Core (in QRCoder.Core.dll) Version: 1.0.2+100b048b01076590efe500a3be242a5faeb43294 **XMLNS for XAML:** Not mapped to an xmlns. **C#** ``` C# public byte[] GetGraphic( int pixelsPerModule, byte[] darkColorRgba, byte[] lightColorRgba, bool drawQuietZones = true ) ``` **C++** ``` C++ public: array^ GetGraphic( int pixelsPerModule, array^ darkColorRgba, array^ lightColorRgba, bool drawQuietZones = true ) ``` #### Parameters
  Int32
\[Missing <param name="pixelsPerModule"/> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Byte[],System.Byte[],System.Boolean)"\]
  Byte[]
\[Missing <param name="darkColorRgba"/> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Byte[],System.Byte[],System.Boolean)"\]
  Byte[]
\[Missing <param name="lightColorRgba"/> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Byte[],System.Byte[],System.Boolean)"\]
  Boolean  (Optional)
\[Missing <param name="drawQuietZones"/> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Byte[],System.Byte[],System.Boolean)"\]
#### Return Value Byte[] \[Missing <returns> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Byte[],System.Byte[],System.Boolean)"\] ## See Also #### Reference PngByteQRCode Class GetGraphic Overload QRCoder.Core Namespace