public interface QRCodeGenerator
Modifier and Type | Method and Description |
---|---|
byte[] |
generatePNG(java.lang.String data,
int width,
int height)
Method to generate a PNG image QR code of the given text with the dimensions specified.
|
byte[] generatePNG(java.lang.String data, int width, int height) throws InternalErrorException
data
- the text data to encode into a QR Codewidth
- the width of the image.height
- the height of the image.InternalErrorException
- if internal problem occurred generating the image.