Logo by Alkaron (anonymous IP: 18.217.98.175,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
--------------------------------------------------------- AISSCache.library --------------------------------------------------------- Here is a shared library which purpose is to cache AISS (and other) images into the memory. For now it offers one function ObtainImage() which returns Image structure to the given image file. If the file is already in memory it returns immediately, otherwise it tries to load the image from disk. The Image structures are stored as a list in AISSCache library base, so all applications share the same images. The images are read using datatypes with bitmap.image class. What are the advantages of using the library instead of loading images by yourself? * Reduced memory consumption, * Increased loading speed. The documentation is included within archive. The library is in libs/ directory and there is an example of using the library in example/ directory. I have written this library as a support for my other programs including Icon Editor which I am working on. I hope it will be useful for other programmers. This is my first library so feedback is very welcome. |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |