Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Python2.7
how the generator of 2d-barcode it work , i need the mechanism of how work ??
Posted 21-Feb-12 3:40am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There are lots of "2d-barcode" codes -- there's a list here:
 
http://en.wikipedia.org/wiki/Barcode
 
What exactly are you interested in learning about?
 
How the data is encoded/decoded? Or to actually create the image or print the bar code?
 

If you want to know about the encoding/decoding, then look up the particular code you are interested in.
 
If it's QR code, then it's explained well here:
 
http://en.wikipedia.org/wiki/QR_Code[^]
 

If you want to know how to know how to create the image or printer commands to generate it, there are dozens of examples of open source barcode generators:
 
http://lmgtfy.com/?q=open+source+barcode+generator[^]
 
Pick one that does what you want to learn about. Downlooad the source and study it.
 
Actually, I see that you previously asked a similar question about doing this in C++ two months back. Please do a little more research yourself about the problem before posting (or reposting) a question. We're happy to help, but we can help you better if you've already done some of the work, and you'll benefit more that way as well.
  Permalink  
Comments
danger man 2011 at 22-Feb-12 15:42pm
   
Hi , thanks for replay i already see these links and read it and i do research for QR Code and i can't find the encoding/decoding step by step , i download pdf documentation about it . Sorry about that what you mentioned above i know it's wrong but i don't have a connection to internet always . I ask for C++ and know it but i do it with Python and i have the code for it . Here i need for encoding/decoding QR Code for understand the mechanism of QR Code
Thank you again for your notes .
TRK3 at 22-Feb-12 15:55pm
   
Here's an open source project that decodes various barcodes. It's got several different languages (none are python, but you should be able to follow the logic):
 
http://code.google.com/p/zxing/
 
When you do get a connection, download a copy of the source in whatever language you are most familiar with, and study it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 299
1 Maciej Los 295
2 Sergey Alexandrovich Kryukov 230
3 Aajmot Sk 191
4 Sinisa Hajnal 166
0 OriginalGriff 7,760
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,785


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 21 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100