QR Code Generation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QR Code Generation

Jump to solution
1,075 Views
grt951
Contributor II

Hello I am working with a MCF51JE256 and will need to generate QR codes...has anyone had experience with this...I have found some sample C projects but they are all for image files i.e. .png, .gif etc. and I am really looking to generate the QR code and store it in memory as a bitmap...

Labels (1)
0 Kudos
1 Solution
766 Views
bikenomad
Contributor III

Look at libqrencode , which is a C library for doing this.

Its representation of a generated QR Code is just this (from the header file):

Symbol data is represented as an array contains width*width uchars.

Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black.

View solution in original post

0 Kudos
2 Replies
766 Views
Monica
Senior Contributor III

Hello Gary!

How is that matter going? Was that information helpful?

Please keep us posted! :smileywink:

Best regards,

Monica.

0 Kudos
767 Views
bikenomad
Contributor III

Look at libqrencode , which is a C library for doing this.

Its representation of a generated QR Code is just this (from the header file):

Symbol data is represented as an array contains width*width uchars.

Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black.

0 Kudos