August 3, 201114 yr Hi, here is a small demo file that show how to generate QR codes and even read them from a container field. http://www.bh-a.com/index.php?option=com_content&view=article&id=88&Itemid=84&lang=en (requires ScriptMaster )
August 4, 201114 yr Brilliant stuff.... Thanks. BUT I transferred it to my Scriptmaster file and downloaded the latest zxing and it returns QR codes which are white on black Any idea why?? import java.awt.image.BufferedImage import com.google.zxing.qrcode.QRCodeWriter import com.google.zxing.common.BitMatrix import com.google.zxing.BarcodeFormat import com.google.zxing.client.j2se.MatrixToImageWriter mtx = new QRCodeWriter().encode (input, BarcodeFormat.QR_CODE, 500 , 500) image = MatrixToImageWriter.toBufferedImage(mtx) return image
August 5, 201114 yr Had to reverse the j2se method to make it work properly. Wierd //import com.google.zxing.client.j2se.MatrixToImageWriter int WHITE = 0xFFFFFF writer = new QRCodeWriter() m = new QRCodeWriter().encode (input, BarcodeFormat.QR_CODE, w , h) image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB) for (x in 0..<w) { for (y in 0..<h) { image.setRGB(x, y, m.get(x, y) ? WHITE : 0) } //end for } //end for
August 12, 201114 yr No, 10.6.8 It works if I fire up your file first and run the script from in there, but if I ran it at all from the SM demo file I keep it reversed and then affected your file until FM was restarted
March 12, 201312 yr Newbies I have used two QR Code barcode generators recently. One is Java QR Code barcode generator SDK, another one is ASP.NET QR Code barcode generator SDK. They are easy to use. Share with you all.
August 29, 201312 yr Newbies actually,i've just generated qr code in vb.net from ka, In the beginning,i thought it's very hard for me,but when i follow the guide and do step by step,it 's not so difficult as i thought! but as for the reader for qr code ,i've no idea about that. is there any other resources?
August 29, 201312 yr I have used the QRCode plugin. It requires a purchase but its simplicity has made it well worth the price.
December 24, 201312 yr Newbies I have used the QRCode plugin. It requires a purchase but its simplicity has made it well worth the price. If it is just for generating QR code with simplicity and conveniences, then a free online QR code generator might be a better choice?
Create an account or sign in to comment