Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
- Posts: 631
- Joined: Wed Aug 15, 2007 11:09 pm
Does anyone knows where is the documentation for the
The imageCacheSize property is mentioned by Ian MacPhail in
this bug report: https://quality.livecode.com/show_bug.cgi?id=15449
Ian MacPhail wrote:
the imagedata for both images exceeding the default maximum size of the image data cache.
the GIF images on your stack have a considerable number of frames, 139 for the 368x524 image, 446 for the 640x359 image. When a GIF image is loaded into the cache, the bitmap data for all frames is loaded in at once. This works out to 102.2MB and 390.9MB respectively, taking the cache size way over the default limit of 256MB.
You can work around this by raising the imageCacheSize property to allow for this much data.
Alternatively, you can reduce the cache space used by displaying a snapshot of the GIF images showing only the first frame, hiding the GIFs until required.
Thanks in Advance!
Last edited by capellan
on Thu May 02, 2019 8:01 pm, edited 1 time in total.
- VIP Livecode Opensource Backer
- Posts: 7930
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
- Livecode Staff Member
- Posts: 1094
- Joined: Thu Apr 11, 2013 11:27 am
@capellan: Also it is in the docs in the IDE* under the 'imageCacheLimit' and 'imageCacheUsage' properties (from whence said wiki page is derived)
* I checked in version 9.0.x