java - Convert BitMatrix output from QRCodeWriter to byte array? -


i have api frontend (php) calls generate qr code. qr code sent byte array (byte[]). we're using paid library can render qr code outputstream, bytearrayoutputstream. library doesn't support utf-8 characters causing problem us. going through qr code generation process zxing we've noticed character set can specified in hashtable before encoding containing qr code.

we change existing functionality little possible. hence wondering if possible convert bitmatrix output qrcodewriter.encode method byte array?

you can find sample code of reading , converting bitmatrix looking @ class com.google.zxing.client.j2se.matrixtoimagewriter (file on github)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -