|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cage.zxing4p3.ZXING4P
public class ZXING4P
This library was created to integrate the open source ZXING barcode library with
Processing.
By Rolf van Gelder ::
http://rvg.cage.nl/ ::
http://cagewebdev.com/ ::
info@cagewebdev.com
Library page:
http://cagewebdev.com/zxing4processing-processing-library/
v3.2 :: 07/31/2016
- Removed deprecated method: 'decodeWeb()'
- Added a new method: 'version()'
- Several minor changes
v3.1 :: 07/21/2016
- Renamed the library to zxing4p3, a Processing 2.x/3.x compatible version
- New method: getPositionMarkers()
NOTE: Compiled with Java 1.6.0_45 (because of Processing 2.x compatibility)
Constructor Summary | |
---|---|
ZXING4P()
Constructor |
Method Summary | |
---|---|
java.lang.String |
decodeImage(boolean tryHarder,
processing.core.PImage img)
Decode the QRCode from a PImage |
processing.core.PImage |
generateQRCode(java.lang.String content,
int width,
int height)
Generates a QRCode PImage from a string |
processing.core.PVector[] |
getPositionMarkers()
Returns a PVector array with the position markers for the latest detected QRCode |
void |
version()
Displays version information of this library in the console |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZXING4P()
Method Detail |
---|
public java.lang.String decodeImage(boolean tryHarder, processing.core.PImage img)
tryHarder
- if set to true, it tells the software to spend a little
more time trying to decode the imageimg
- PImage containing the image to be examinded
public processing.core.PImage generateQRCode(java.lang.String content, int width, int height)
content
- string to encodewidth
- width of the PImage that will be returnedheight
- height of the PImage that will be returned
public processing.core.PVector[] getPositionMarkers()
public void version()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |