LibInfo For Mac Publisher's description
from Gary Harris
Welcome and thank you for taking an interest in LibInfo. LibInfo is written in platform-independent C...
Welcome and thank you for taking an interest in LibInfo. LibInfo is written in platform-independent C in an effort to make it as widely useful as possible. This library is the result of about a year's searching for information about the Amiga icon format and how to convert to and from it. This search led me, at long last, to amicon, by Adam Sampson, a nifty little converter written for Unix and itself based on some BeOS code that I had also found during my search but had been unable to modify successfully.
My first step was to modify amicon to compile on Windows. The result, amicon 2, is available at my web site, along with WinAmicon, a Windows GUI conversion of the same code. Whilst writing WinAmicon, I used paintlib as the graphics conversion engine and began to think that paintlib would benefit from built-in Amiga icon awareness. After successfully adding extraction code to paintlib manually, I decided to encapsulate that code into a stand-alone library and LibInfo was born.
Usage is straightforward. No special preprocessor definitions are required at this stage. XPM and PPM output code can be excluded from compilation if not required by setting LI_OUTPUT_XPM or LI_OUTPUT_PPM to 0, in libinfo.h.
If you wish to recompile the documentation or create a different format, you will need the doxygen package, available via the link at the bottom of the page. Doxygen is capable of creating documentation in a wide range of formats from source code. HTML and Windows Compiled Help are provided with the library.
You are free to use LibInfo as you wish within the limits of the GNU GPL. Bug reports, fixes, additions, bindings etc. are all very welcome. If you change the library and intend to submit your changes, please try and stick to the existing coding style as much as possible. Do not remove any of the additional tags present in comments, they are required for the doxygen documentation. Removing them will break the documentation. If you are not familiar with doxygen, do yourself a favour and look into it, it's excellent and free! Failing that, use normal comments so that I can add the additional tags for you.
Global functions, defines, variables etc. should have names starting with "LI". Memory deallocation etc. should be added to LICleanUp() where appropriate. Major changes are probably best discussed on the mailing list first to avoid problems and duplication of effort.
Changes should be clearly marked so that I can see exactly what you've done and I can give you credit where appropriate.
What's New in This Release:В· Fixed several memory leaks.
В· Return additional values from LIReadDefIcon() and LIReadNewIcon() based on status.
В· Zero interface variables to prevent data persisting between reads.
В· Fixed problems freeing memory on Linux with later version of GCC.
В· The HTML Help is now included in the main package, along with man and LaTeX.
System Requirements:No special requirements.
Program Release Status: Minor Update
Program Install Support: Install and Uninstall