OS4 DepotLogo by Alkaron 
(anonymous IP: 3.231.229.89,1391) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (330)
   o Datatype (47)
   o Demo (186)
   o Development (541)
   o Document (21)
   o Driver (87)
   o Emulation (142)
   o Game (874)
   o Graphics (469)
   o Library (102)
   o Network (207)
   o Office (56)
   o Utility (827)
   o Video (62)

Total files: 3951

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Graphics » Aiss » aisscache.lha

Aisscache

Description: Shared library to cache AISS images into memory
Download: aisscache.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 8kb
Version: 1.0
Date: 03 Sep 2010
Author: Robert Szacki
Submitter: Robert Szacki
Email: robert szacki/gmail com
Homepage: http://minniatian.republika.pl
Category: graphics/aiss
License: Public domain
Distribute: yes
Min OS Version: 4.0
FileID: 5881
 
Comments: 4
Snapshots: 0
Videos: 0
Downloads: 352  (Current version)
352  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
---------------------------------------------------------
                    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-2019 by Björn Hagström All Rights Reserved