File Exchange

image thumbnail

QR Code Generator 1.1 based on zxing

version 1.1 (153 KB) by

QR Code generator 1.1 can generatre QR-Codes based on the zxing library.

23 Downloads

Updated

View License

QR Code generator can generate QR-Codes based on the zxing library. All files can be imported on the fly from a maven repository or can be downloaded via a command. Zxing is an open source project so it also possible to include your self-compliled files if you have security issues.
===================================
If you like what you see buy me a coffee via:
https://ko-fi.com/A437HBY

Comments and Ratings (12)

Arnobou

Jens Richter

Hi Kishore,

please check the manual. You can download the jars easily and use them without internet connection. Please feel free to send me an email in case you need a helping hand :-).

Best,
Jens

kishore siva

output is performd only with the internet usage..how to get without connection also?

chengzhe liao

thanks! very useful!

Jens Richter

Hey Ethan,

I dont know if anyone used this within Matlab but it seems not be to complicated. I had a look on the following java implementation https://github.com/zxing/zxing/blob/master/core/src/main/java/com/google/zxing/datamatrix/DataMatrixWriter.java. I will have a look into this for my next release. If is of benefit I will include it :-)

Best,
Jens

Ethan

Ethan (view profile)

Do you know whether anyone has done this with other codes in zxing, especially datamatrix codes?

Following your code I was able to get datamatrix codes:

e.g., dm_writer = com.google.zxing.datamatrix.DataMatrixWriter;

However, my rudimentary abilities keep me from figuring out the different options available in datamatrix codes (except for DATA_MATRIX_SHAPE).

Do you know where I can find a list of encoder options for datamatrix codes in zxing?

Ethan

Ethan (view profile)

Great! Thanks!

Ethan

Ethan (view profile)

Great! Thanks!

Jens Richter

Hey Ethan,

thank you very much for your comment. I will publish a new version of Qr Code Generator in the next days anyway. Because there is also a bug when running it with Matlab2015a. I will also have a look on the quietzone settings.

Best,
Jens

Ethan

Ethan (view profile)

It looks like the setting for the quiet zone is not implemented in the java. When I change this value in qrcode_config.m, nothing happens. If I try putting it in the hints (qr_hints.put(com.google.zxing.EncodeHintType.MARGIN, qrcodeProps.setting.quietZoneSize)), I get an error. I tried looking at the java source and it likes like this part isn't fully implemented.

Does this seem right to you?

Ethan

Ethan (view profile)

Ligong Han

Ligong Han (view profile)

Updates

1.1

- Added coffee link

1.1

Added live script

1.1

Added live script

1.1

- Working with Matlab2015a
- Added Quietzone option.

MATLAB Release
MATLAB 9.0 (R2016a)
Acknowledgements

Inspired by: QR Code encoder

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video