8-4
Saia-Burgess Controls AG
27-621 ENG07 – Manual – Web Panel MB - PCD7.D450WTPx and PCD7.W470WTPx
General recommendations for the Web Editor 5
8
8.5.2 DecompressionofGiflesinthevideocacheatstartup
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 les in the video cache before the real
rst page of the project is displayed.
Advantage: Decompression is already nished when the rst page of the pro-
ject is displayed.
Disadvantage: You have to wait for compression to nish, before the rst page is
displayed.
Tip: Create a dummy page with:
…a messages such as "Images loading, please wait."
… the View Jump_onTimeout macro to jump to the correct rst
page of the project
8.5.3 DecompressionofGifles:analysis/calculation
Available for the solutions from sections "8.5.1 Decompression in the video cache at
startup using the Gif list" on page 8-3 and "8.5.2 Decompression of Gif les in the
video cache at startup" on page 8-4.
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 ushable)
of 16 MByte. Of this, 4 to 6 Mbyte are used for the permanent cache. The remaining
~ 10…12 Mbyte are available.
Examplecalculationofthenumberofimagesinthe4Mbytepermanentvideo
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 les.
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 les.
Note: The ratio between the size of the gif les and the number of pixels is not a con-
stant.