ImagePreview request
The SDK supports displaying a preview image by using the ImagePreview
 request. This request offers the following functionality:
Retrieving a default symbolic image in case no image has been captured yet. This is the request's basic use case.
Using a custom default symbolic image instead of the SDK's one as extended use case.
Creating the preview image from a current existing person's image as further option of the extended use case. This functionality also comprises the optional conversion from the source image format to an other format (for example, JPEG-2000 to JPEG). The image may also be scaled. Such a source image can be specified by an URL, a file or the BASE64 encoded image.
ImagePreview
 is used together with the ImageCapture request. The basic usage is the following:
UseÂ
ImagePreview
 to create an image preview object.UseÂ
ImageCapture
 to capture a new image. The XML preview element in this request uses the same content as used with theÂImagePreview
 request. After a successful capturing process, the new preview image is generated from the captured one. Note thatÂImageCapture
 will never create a preview image other than for the captured image: In case of canceling the capture process, the former preview image remains unchanged.
Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions