Well, after playing around with MetaCard awhile, I learned a few
strange things:
>If your JPEGs are compressed, you could try reducing compression as low as
>possible (meaning little or no compression).
>...
> As a test comparison, you
>might try using a BMP file (or PICT on MacOS) which I believe does not
>incorporate any substantial compression and see if there is any difference
>in display time.
Strangely enough, using an uncompressed PICT file makes displaying
the image _slower_ to draw the image and move it around the screen.
So, a huge JPEG file displays much faster than a huge PICT file.
However, when I split the image up into four smaller images (each
about 500 pixels wide) I improved speed about 10 times (!)
I did an unscientific counting-in-my-head to see how fast it went,
and the first time it seemed to take about half a second to display
the four images lined up, while it took almost 5 seconds to display
the big image.
So, for future reference for anyone working with lots of big, high
quality images:
- JPEG goes faster than PICT (and I'd guess BMP) , even tho it
doesn't make a lot of sense
- splitting up one big image to multiple small ones improves drawing
speed HUGELY
( for the record, I'm just using these big images as a background on
a game, not sprites or anything like that)
--
Karl Becker, KB Productions - http://www.karlbecker.com
Featuring:New Tricks, Tiger's Eye Casino, and The Fishin' Hole
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.