Pros and cons of where to store image data

Richard Gaskin ambassador at fourthworld.com
Tue Sep 16 03:19:00 EDT 2003


peter9.smith at ps.ge.com wrote:

> I'm still on the newbie learning curve so bear with me.  If you want to have
> an image on a card you have two choices as to where to store the image data?
> Either inside the image itself or in an external file?
> 
> Assuming that's correct what are the pros and cons?  If you hold the image
> data inside the card is it compressed in the stack file?  I'd prefer to hold
> the image data inside the card as that should be faster loading the stack.

It's simpler and faster to store images in the stack.

However, everything in a stack file is loaded into memory whenever you open
it, so referring to them is a good option for stacks with lots of images, as
that generally takes less memory since it only loads the images needed for
the current card.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list