@Vis wrote:
Currently I am working on a project that will generate qr code in every play. And the qr code will be drawn on the fbo and then export it. The problem is the generated qr codes are same. Anyone have ideas to solve it?
qr.generate("http://www.testing.com/" + uuidFolder );
qrFbo.begin();
ofClear(255);
qr.draw(4);
qrFbo.end();qrFrameFbo.begin();
ofClear(255);
imgFrame.draw(0,0);
qrFbo.draw(82, 506, 675, 675);
qrFrameFbo.end();qrFrameFbo.readToPixels(qrPixels);
qrImg.setFromPixels(qrPixels);
qrImg.save( "qrCode/" + uuidFolder + ".jpg", OF_IMAGE_QUALITY_MEDIUM);
Posts: 1
Participants: 1