13 separate small files (displayed above)
(sizes 158 bytes --> 239 bytes) total size 13 files = 2744 bytes
|
Suppose we took each of the original frames (Example C Planning Animations 1), and chopped out the excess background area. There are 13 small images as shown ABOVE. They range in size from 158 bytes to 239 bytes.
Example A shows the best result from the previous page, where a background was combined with the whole (but transparent) frames from the earlier example. Notice it is 7,468 bytes, about 20,000 bytes smaller than the flipbook model.
Use the background frame figure (1) from example A, and place each of the small individual frames (top of page or figure(2)) on top of this background. Make BLACK the transparent color, OFFSET each small frame from within the animation package (supported by 89a format), and finally use the correct disposal mechanism. The result is shown in example B. Notice, the size is now 4,264 bytes, a 3,204 byte savings over example A. This represents an additional 45% savings over A.
|
Review (animations with backgrounds):
Flip book 13 frames - 28,948 bytes
Background + 13 full frames -- overlay - 7,468 bytes
Background + 13 small frames -- (offset) - 4,264 bytes
|