You're seeing just the function png, go back to QRCodeEx module for more information.
Link to this function

png(matrix, options \\ [])

View Source
|> QRCodeEx.encode()
|> QRCodeEx.png(color: <<255, 0, 255>>, width: 200)

You can specify the following attributes of the QR code:

  • color: In binary format. The default is <<0, 0, 0>>
  • background_color: In binary format or :transparent. The default is <<255, 255, 255>>
  • width: The width of the QR code in pixel. (the actual size may vary, due to the number of modules in the code)

By default, QR code size will be dynamically generated based on the input string.