Hi List, I know how to calculate the amount of memory an image takes:
img.width * img.height * img.depth / 8 If I import a 24-bit image, the resulting cast member is 32 bit. Or if I create an image in 24 bit color depth: img = image(width, height, 24) img.depth always gives 32. Maybe it's because my video card supports 8 bit, 16 bit or 32 bit color depth, but not 24 bit. I don't know. Anyway here's my question. Those originally 24-bit images, do they really consume 33 % more memory as necessary in the above mentionned case? If so, what can I do to change this? I have to preload a large amount of image data for fast and instant use and memory useage really matters! Thanks in advance Michael [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]