public class GenQR extends Object
Uses
ImgtoBlackandWhite
if input file is an image
GenSig
to generate 'sig', 'suepk' files
ZipCreator
to create result.zip containing 'sig','suepk' and input file
QRCode
to generate QRCode.png from result.zip
Log
to create Log.txt in case of any Exception thrown
Constructor and Description |
---|
GenQR() |
Modifier and Type | Method and Description |
---|---|
static boolean |
is_image(String s)
Checks whether an input file is image or not
|
static void |
main(String[] args) |
public static boolean is_image(String s)
s
- Input file path