Module size, quiet zone, colours and caption; see RenderOptions for defaults.
Returns Uint8Array
The PNG file bytes.
Throws
If moduleSize is not a positive safe integer or quietZone is not a non-negative safe integer, or a foreground or background channel is not an integer 0-255.
Renders a barcode matrix as a PNG image: dark modules in
foreground, the rest and the quiet zone inbackground, with an optional caption below.