![]() |
Image Generator SDK
4.23.0
The Image Generator SDK provides a library to generate QR codes and CrontoSign images
|
The Image Generator SDK main class. It can generate a QR code or a CrontoSign image. More...
Static Public Member Functions | |
static CrontoImageResponse | GenerateCrontoSign (int squareSize, string inputValue) |
Generates a CRONTO image for the corresponding input values. A scrambling is applied on the input before generating the image. The output image is to be printed on paper. More... | |
static CrontoImageResponse | GenerateCrontoSign (int squareSize, string inputValue, bool onPaper) |
Generates a CRONTO image for the corresponding input values. A scrambling is applied on the input before generating the image. More... | |
static CrontoImageResponse | GenerateDynamicCrontoImage (int squareSize, string inputValue, bool onPaper) |
Generates a CRONTO image for the corresponding input values. The size of the image is dynamic and depends on the inputValue length. CAUTION: The CRONTO images generated with this method cannot be scanned by VASCO hardware authenticators (e.g. DP760, DP780). /// More... | |
static BWQRCodeResponse | GenerateBWQRCode (int imageSize, string inputValue, int errorCorrectionLevel) |
Generates a black and white QR code image More... | |
Static Public Attributes | |
const string | VERSION = "4.23.0" |
Version of the Image Generator SDK More... | |
The Image Generator SDK main class. It can generate a QR code or a CrontoSign image.
|
static |
Generates a black and white QR code image
imageSize | The side length of the generated image. The minimum square size is ImageGeneratorSDKConstants.QRCODE_MIN_IMAGE_SIZE, and the maximum square size is ImageGeneratorSDKConstants.QRCODE_MAX_IMAGE_SIZE |
inputValue | String to encode. Supports numeric, alphanumeric, ISO 8859-1 and Shift JIS X 0208 formats |
errorCorrectionLevel | The error correction level (which is QRCODE_ERROR_CORRECTION_LEVEL_LOW, QRCODE_ERROR_CORRECTION_LEVEL_LOW, QRCODE_ERROR_CORRECTION_LEVEL_LOW or QRCODE_ERROR_CORRECTION_LEVEL_LOW) |
ImageGeneratorSDKException | Vasco.Image.Exceptions.ImageGeneratorSDKErrorCodes.INPUT_VALUE_EMPTY if the input value is empty Vasco.Image.Exceptions.ImageGeneratorSDKErrorCodes.INPUT_VALUE_TOO_LONG if the input value is too long Vasco.Image.Exceptions.ImageGeneratorSDKErrorCodes.QRCODE_IMAGE_SIZE_INVALID_VALUE if the image size is invalid Vasco.Image.Exceptions.ImageGeneratorSDKErrorCodes.QRCODE_ERROR_CORRECTION_LEVEL_INVALID_VALUE if the error correction level is invalid Vasco.Image.Exceptions.ImageGeneratorSDKErrorCodes.INTERNAL_ERROR if an internal error is raised |
|
static |
Generates a CRONTO image for the corresponding input values. A scrambling is applied on the input before generating the image. The output image is to be printed on paper.
squareSize | The size of a CrontoSign square. The minimum square size is ImageGeneratorSDKConstants.CRONTOSIGN_MIN_SQUARE_SIZE, and the maximum square size is ImageGeneratorSDKConstants.CRONTOSIGN_MAX_SQUARE_SIZE |
inputValue | The hexadecimal string to encode. The max size is ImageGeneratorSDKConstants.CRONTOSIGN_MAX_INPUT_VALUE_LENGTH |
Vasco.Image.Exceptions.ImageGeneratorSDKException | If an exception occured, the following error code can be thrown:
|
|
static |
Generates a CRONTO image for the corresponding input values. A scrambling is applied on the input before generating the image.
squareSize | The size of a CrontoSign square. The minimum square size is ImageGeneratorSDKConstants.CRONTOSIGN_MIN_SQUARE_SIZE, and the maximum square size is ImageGeneratorSDKConstants.CRONTOSIGN_MAX_SQUARE_SIZE |
inputValue | The hexadecimal string to encode. The max size is ImageGeneratorSDKConstants.CRONTOSIGN_MAX_INPUT_VALUE_LENGTH |
onPaper | True if and only if the image is to be printed on paper |
Vasco.Image.Exceptions.ImageGeneratorSDKException | If an exception occured, the following error code can be thrown:
|
|
static |
Generates a CRONTO image for the corresponding input values. The size of the image is dynamic and depends on the inputValue length. CAUTION: The CRONTO images generated with this method cannot be scanned by VASCO hardware authenticators (e.g. DP760, DP780). ///
squareSize | The size of a CrontoSign square. The minimum square size is ImageGeneratorSDKConstants.CRONTOSIGN_MIN_SQUARE_SIZE, and the maximum square size is ImageGeneratorSDKConstants.CRONTOSIGN_MAX_SQUARE_SIZE |
inputValue | The hexadecimal string to encode. The max size is ImageGeneratorSDKConstants.CRONTOSIGN_MAX_INPUT_VALUE_LENGTH |
onPaper | True if and only if the image is to be printed on paper |
Vasco.Image.Exceptions.ImageGeneratorSDKException | If an exception occured, the following error code can be thrown:
|
|
static |
Version of the Image Generator SDK