# GetGraphic(Int32, Boolean) Method
Creates a black white PNG of the QR code, using 1-bit grayscale.
## 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,
bool drawQuietZones = true
)
```
**C++**
``` C++
public:
array^ GetGraphic(
int pixelsPerModule,
bool drawQuietZones = true
)
```
#### Parameters
- Int32
- \[Missing <param name="pixelsPerModule"/> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Boolean)"\]
- Boolean (Optional)
- \[Missing <param name="drawQuietZones"/> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Boolean)"\]
#### Return Value
Byte[]
\[Missing <returns> documentation for "M:QRCoder.Core.PngByteQRCode.GetGraphic(System.Int32,System.Boolean)"\]
## See Also
#### Reference
PngByteQRCode Class
GetGraphic Overload
QRCoder.Core Namespace