Saia-Burgess Controls AG
Manual PCD7.D412DTPF & PCD7.D4xxxT5F │ Document 27-620 – Release ENG07 │ 2019-06-20
9-4
General recommendations for the Web Editor
9
9.5.2
Decompression of Gif files in the video cache at startup
using a dummy start screen
Î
Place all the gifs in a teq start screen, which will serve as a placeholder.
This solution allows you to decompress gif files in the video cache before the real
first page of the project is displayed.
Advantage:
Decompression is already finished when the first page of the
project is displayed.
Disadvantage: You have to wait for compression to finish, before the first page is
displayed.
Tip:
Create a dummy page with:
…a messages such as "Images loading, please wait."
… the ViewJump_onTimeout macro to jump to the correct first
page of the project
9.5.3
Decompression of Gif files: analysis/calculation
Available for the solutions from sections 9.5.1 and 9.5.2.
How do you analyse the number of gifs in the video cache, based on the number
of pixels in the gif images? The video cache has a total size (permanent and flush
-
able) of 16 MByte. Of this, 4 to 6 Mbyte are used for the permanent cache. The
remaining ~ 10…12 Mbyte are available.
Example calculation of the number of images in the 4 Mbyte permanent
video cache
Example 1:
The number of pixels in the images is 640 × 480 pixels (the
whole screen)
12 000 000 Byte / (640 × 480) × 2 = 19.53125
That means, that the cache can hold a maximum of 19 gif files.
Example 2:
The number of pixels in the images is ~ 120 × 120 pixels
12 000 000 Byte / (120 × 120) × 2 = 416⅔
That means, that the cache can hold a maximum of 400 gif files.
Note: The ratio between the size of the gif files and the number of pixels is not a con
-
stant.