VpeSetPictureCacheSize

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

VpeSetPictureCacheSize

Previous pageReturn to chapter overviewNext page

[Not supported by the Community Edition]

To increase performance, VPE has a build-in dynamic image cache. With this method you can set the maximum amount of memory, VPE will use to cache image files.

See "Image Cache" in the Programmer's Manual for details.

void VpeSetPictureCacheSize(

long size

)

long size

size of image cache in kilobytes (NOT megabytes)

Default:

65536 ( = 64 MB)

Remarks:

The setting of this property has great impact on performance. If you are using a lot of different images or huge images, and you know in advance that the machine has enough memory, we recommend to raise the cache size. The factory default size has been chosen very conservatively small.

 

Note, that the image cache does not use any memory unless an image is loaded into memory, and it uses only as much memory as required.

Community Edition:

The Community Edition does not provide caching of images.

 

See Also:

"Pictures" in the Programmer's Manual