![SBC PCD7.D450WTP Series Manual Download Page 56](http://html1.mh-extra.com/html/sbc/pcd7-d450wtp-series/pcd7-d450wtp-series_manual_1205093056.webp)
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
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 pro
-
ject 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 View Jump_onTimeout macro to jump to the correct first
page of the project
8.5.3
Decompression of Gif files: 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 files 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 flushable)
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.