The signotec LCD signature pads have several image memories, which can be used by different methods of the class SigPadApi. An image memory has always the size of the display and can store one picture in a maximum of this size. Adding another image overrides the areas it overlaps with the existing memory content. Adding multiple images to one memory can therefore create a collage.
Depending on the model, a different number of volatile and non-volatile memories are available.
Volatile image memory
All signotec LCD Signature Pads have at least two volatile image memories, one foreground buffer containing the current display content and one background buffer, which can be used to prepare the display content. It can be written in both of the buffers.
The content of the volatile image memory is lost when you close the connection to the device.
Model type Sigma and Zeta
The two volatile image memories are the same size as the display (Sigma 320 x 160 pixels, Zeta 320 x 200 pixels).
The transmission and representation of images is usually so fast that there is no visible lag. For more complex representations that consist of several individual images, it may be useful to first save them in the background buffer before copying them into the foreground buffer.
Model type Omega
The Omega model has three volatile image memories; two that are double the size of the display (640 x 960 pixels) to be used as foreground and background buffers and one that is the same size as the display (640 x 480 pixels) to be used as overlay buffer. Its contents can be overlaid over the current display content.
The speed of displaying a picture in Omega model depends on the size and content of the images, usually it‘s visible. Therefore, images should always be stored first in the background buffer and then moved into the foreground buffer.
Model type Gamma
The Gamma model has three volatile image memories; two that are larger than the display (800 x 1440 pixels) to be used as foreground and background buffers and one that is the same size as the display (800 x 480 pixels) to be used as overlay buffer. Its contents can be overlaid over the current screen content.
With the Gamma model, an image is only displayed after it has been transferred; the image composition is not visible. The speed of the image transmission depends on the size and content of the images and the operating mode. If possible, the device should always be operated in WinUSB mode. To this end, it is necessary to install the signotec WinUSB driver separately. For more complex representations that consist of several individual images, it can generally be useful to first save them in the background buffer before copying them into the foreground buffer.
Model type Alpha
The Alpha model has three volatile image memories; two that are larger than the display (2048 x 2048 pixels) to be used as foreground and background buffers and one that is the same size as the display (768 x 1366 pixels) to be used as overlay buffer. Its contents can be overlaid over the current screen content.
With the Alpha model, an image is only displayed after it has been transferred; the image composition is not visible. The speed of the image transmission depends on the size and content of the images and the operating mode. If possible, the device should always be operated in WinUSB mode. To this end, it is necessary to install the signotec WinUSB driver separately. For more complex representations that consist of several individual images, it can generally be useful to first save them in the background buffer before copying them into the foreground buffer.
Model type Delta
The Delta model has three volatile image memories; two that are larger than the display (1280 x 37600 pixels) to be used as foreground and background buffers and one that is the same size as the display (1280 x 800 pixels) to be used as overlay buffer. Its contents can be overlaid over the current screen content.
With the Delta model, an image is only displayed after it has been transferred; the image composition is not visible. The speed of the image transmission depends on the size and content of the images and the operating mode. If possible, the device should always be operated in WinUSB mode. To this end, it is necessary to install the signotec WinUSB driver separately. For more complex representations that consist of several individual images, it can generally be useful to first save them in the background buffer before copying them into the foreground buffer.
Pen display
A pen display does not have a physical image memory. To capture the graphical components, two volatile image memories are simulated in the main memory in the size of the capture area (PenDisplayFacade.setDisplaySize()).
Non-volatile image memory
Depending on the model, a different number of non-volatile memories are available. The saving of images in non-volatile image memory lasts longer than storing in volatile image memory, but the content remains unchanged even after switching off the device. An intelligent memory management detects whether an image to be stored is already stored in the device so that only the first time it’s stored it comes to a delay.
Model type Sigma and Zeta
The Sigma and Zeta models have one non-volatile image memory in the same size as the display (Sigma 320 x 160 pixels, Zeta 320 x 200 pixels), which can only be used for the standby image. Due to the rapid transmission and display of pictures, it is not necessary to be able to save other images permanently.
Model type Omega
The Omega model has eleven non-volatile image memories, which can be used for the standby image, the slide show and optimizations of the program. The memories, used for the standby image or the slide show, are read-only and can be freed only by disabling the standby image or the slide show.
One non-volatile image memory is double the size of the display (640 x 960 pixels); ten memories are the same size as the display (640 x 480 pixels).
To use a non-volatile memory, this must be reserved first. This is done by calling the ImageMemory.requestPermanentStore() method. The size of a memory can be queried using the ImageMemory.getWidth() and ImageMemory.getHeight() properties.
Model type Gamma
The Gamma model has ten non-volatile image memories, which can be used for the standby image, the slide show and optimisations of the program. The memories, used for the standby image or the slide show, are read-only and can be freed only by disabling the standby image or the slide show.
The ten non-volatile memories are the same size as the display (800 x 480 pixels).
To use a non-volatile memory, this must be reserved first. This is done by calling the ImageMemory.requestPermanentStore() method. The size of a memory can be queried using the ImageMemory.getWidth() and ImageMemory.getHeight() properties.
Unlike Omega, Gamma does not require the use of non-volatile memory to optimise the program in the WinUSB operating mode, as image transmission is very fast. However, it depends on the individual case at hand and the developer should make the final decision.
Model type Alpha
The Alpha model has ten non-volatile image memories, which can be used for the standby image, the slide show and optimisations of the program. The memories, used for the standby image or the slide show, are read-only and can be freed only by disabling the standby image or the slide show.
The ten non-volatile memories are the same size as the volatile memories (2048 x 2048 pixels).
To use a non-volatile memory, this must be reserved first. This is done by calling the ImageMemory.requestPermanentStore() method. The size of a memory can be queried using the ImageMemory.getWidth() and ImageMemory.getHeight() properties.
Unlike Omega, Alpha does not require the use of non-volatile memory to optimise the program in the WinUSB operating mode, as image transmission is very fast. However, it depends on the individual case at hand and the developer should make the final decision.
Model type Delta
The Delta model has 32 non-volatile image memories, which can be used for the standby image, the slide show and optimisations of the program. The memories, used for the standby image or the slide show, are read-only and can be freed only by disabling the standby image or the slide show.
The 32 non-volatile memories are the same size as the display (1280 x 800 pixels).
To use a non-volatile memory, this must be reserved first. This is done by calling the ImageMemory.requestPermanentStore() method. The size of a memory can be queried using the ImageMemory.getWidth() and ImageMemory.getHeight() properties.
Unlike Omega, Delta does not require the use of non-volatile memory to optimise the program in the WinUSB operating mode, as image transmission is very fast. However, it depends on the individual case at hand and the developer should make the final decision.
Pen display
A pen display does not have any non-volatile image memories.
Copying between image memories
The contents can be copied between the most of the available image stores. The content of the background buffer cannot be copied to the foreground buffer; it can only be moved. The contents of the overlay buffer cannot be copied but only overlaid over the display content.
Typical copy operations are copying from a non-volatile memory in a volatile memory and copy from the volatile back buffer into the foreground buffer. Copying an image within the device is always faster than sending this image from the PC to the device. Please refer to the description of the SigPadApi.setImageFromStore() and SigPadApi.setOverlayArea() methods for details.
The typical process
Most applications use the same images with possibly variable units (such as document-related texts) for the signature process. It therefore makes sense to store images that are the same each time in one of the non-volatile memory if possible. The following is the typical work flow for this scenario
First, the images are loaded, which will be permanently stored in the device, since they change rarely. The static ImageMemory.requestPermanentStore() method is used for this. The method returns a reference to a non-volatile image memory, which can then be used to add images or text to this memory. If no non-volatile image memory is available, the method returns a reference to a volatile memory, which can then be used to add images or text to the background buffer.
To compare the image (which may be composed of several texts and images) with the image already stored in the device, the texts and images that are added to a non-volatile memory are only saved locally to begin with and are sent to the device only when SigPadApi.setImageFromStore() or SigPadApi.configSlideShow() is called. Thus only when one of these methods is called, there will be a noticeable delay.
ImageMemory store = ImageMemory.requestPermanentStore();
padApi.setImage(10, 10, img1, store);
padApi.setText(220, 160, SigPadAlign.LEFT, "Signature:", store);
padApi.setImage(220, 400, img2, store);
The content can now be copied to a volatile memory, typically the background buffer. The following method has no function, if the images already have been written into the background buffer, but also produces no errors, so it can be called safe.
ImageMemory backBuffer = ImageMemory.requestBackgroundBuffer();
padApi.setImageFromStore(dest1, backBuffer);
Now content, that change with every signature process, can be added to the background buffer.
padApi.setImage(120, 400, img3, backBuffer);
padApi.setText(220, 180, SigPadAlign.LEFT, "01.01.2010", backBuffer);
In the background buffer there’s now a collage of two images and a text copied from a non-volatile memory and an image and a text that have been sent from the PC. This collage can now be copied into the foreground buffer and thus displayed on the screen. The overall image composition has happened before in the background buffer and is thus ‘invisible’.
padApi.setImageFromStore(backBuffer);
The process described must be performed every time a connection is opened. When a connection is closed all information about reserved memories is lost. Only information regarding which display content is stored in which non-volatile memory remains saved on the device (even when it is switched off).