QR code类库

Googlecode发现的好东西。

QRcode类库:http://code.google.com/p/zxing/

ZXing(pronounced"zebracrossing")isanopen-source,multi-format1D/2DbarcodeimageprocessinglibraryimplementedinJava.Ourfocusisonusingthebuilt-incameraonmobilephonestophotographanddecodebarcodesonthedevice,withoutcommunicatingwithaserver.Wecurrentlyhavesupportfor:

UPC-AandUPC-E

EAN-8andEAN-13

Code39

Code93

Code128

QRCode

ITF

Codabar

RSS-14(allvariants)

DataMatrix('alpha'quality)

PDF417('alpha'quality)

Thislibraryisdividedintoseveralcomponents;someareactivelysupported:

core:Thecoreimagedecodinglibrary,andtestcode

javase:J2SE-specificclientcode

android:Androidclient,calledBarcodeScanner

androidtest:Androidtestapp

android-integration:SupportsintegrationwithourBarcodeScannerappviaIntent

zxingorg:Thesourcebehindzxing.org/w

zxing.appspot.com:Thesourcebehindourweb-basedbarcodegenerator

Somemodulesarecontributedand/orintermittentlymaintained:

javame:JavaMEclient

csharp:PartialC#port

cpp:PartialC++port

rim:RIM/Blackberry-specificclientbuild

iphone:iPhoneclient+porttoObjectiveC/C++(QRcodeonly)

bug:ClientforBugLabs'sBUG

jruby:Rubywrapper

actionscript:partialporttoActionscript

Tocomplementourdecodingsoftware,wehavecreatedaweb-basedQRCodegeneratorwhichsupportscontactinformation,calendarevents,URLs,andmuchmore.

相关推荐