I have been playing around with zxing over the weekend, and have ran into a problem that I am unable to solve. I am using the working java code example at QR Code encoding and decoding using zxing, and am interested in converting the generated BitMatrix (that houses bits of the qr code) into a byte[] so that I can store the image in an sql lite blob field (and then draw the bar code when I want to). Does anyone know if this is possible. I am not sure where to go from the encoding solution that I have provided. I've looked at http://zxing.org/w/docs/javadoc/com/google/zxing/client/j2se/MatrixToImageWriter.html for a solution, but haven't found any fixes for my problem (I thought maybe accomplish this via MatrixToImageWriter.
Any help is greatly appreciated!
Cheers!