AminetAminet
Search:
80634 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/IconLib_46.4.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:free icon.library in optimized ASM code
Author:Peter Keunecke
Uploader:pkeunecke alice-dsl net
Type:util/libs
Version:46.4.284
Requires:68020+
Architecture:m68k-amigaos >= 3.0.0
Date:2013-04-30
Download:http://aminet.net/util/libs/IconLib_46.4.lha - View contents
Readme:http://aminet.net/util/libs/IconLib_46.4.readme
Downloads:7417
 Latest changes:
 ~~~~~~~~~~~~~~
This icon.library won't waste ChipMem for the icons anymore,
which can also make some systems even a little faster again. 

Removed the blitter calls from the OS 3.5 transparency mask
generation. But there is still a lot more to do like this.

Removed my reduction of planar images to 3 bitplanes (MWB).

Tried to improve the conversion of alpha channels into simple
transparency masks a bit. Has 2 steps of 75% and 50% RGB now.

More cleanup and optimization. Removed a few useless bitmaps
and blitter calls and tweaked the chunkytoplanar routine a
little to work without bitmaps. Optimized GetIconRectangleA()
because it's called very often by the Workbench. Why is it?

This is the first icon.library with an embedded zlib inflate
function. This new routine is still under construction and it
will get more optimized for best speed but it works already.
It means, you don't need the additional zlib.library anymore.

There are two new shell commands supplied. The first can be
used on systems with 16-bit memory for the icons in order to
save the faster 32-bit memory for real application programs.
To make this possible just call IconsTo24BitDmaMem from s-s.
The other new instruction is GrayscaleOnOff that can be used
to render the icons in shades of gray only instead of color.
It can be enabled in Prefs/Workbench by setting icon quality
to bad like it's done for the faster colormapping. Both can
not be used at the same time. Call the command before LoadWB.


 Description:
 ~~~~~~~~~~~
The icon.library has been written completely in optimized ASM
code with IconBeFast 2 already built in. It works much faster
now and is also a lot smaller than the original icon.library.

Added direct support for workbench.library version 39 and 40.
Of course, it's required to load the icon.library resident if
you want to use it with AmigaOS 3.0 or 3.1. This can be done
either with LoadModule, LoadResident or by using a custom ROM. 
So, you don't need any files from OS 3.5+ or Scalos anymore.
There is just one limitation: the old workbench.library will
not reload the icons after a screenmode change and thus the
OS 3.5 colors will not be remapped then. This needs a reboot.
How to use this with AmigaOS 3.0 already is shown on the disk
image IconDemoADF http://eab.abime.net/showthread.php?t=64079

This library can now display the 32 bit ARGB icons of OS4 on
any AGA screen with the normal 8 bit color mapping of OS 3.5+.
WB:icon->info will convert these icons into the OS 3.5 format!
The old style planar images of the OS4 icons are replaced now
by the smaller internal default images since many were broken.

Added support for displaying Dual-PNG icons on any AGA screen.
When you're fixing the position of PNG-icons with snapshot you
will see a requester asking if you would like to convert the
icons into the OS 3.5 format. This format has the advantage of
getting small files and a much faster icon loading as for PNG.
There's hardly any quality loss visible in truecolor modes.
The viewmodes for PNG drawer icons are now always set to their
defaults: displaying only real icons and NO text-mode listings.

A faster colormapping mode is now optional available and can
be enabled by setting icon quality to bad in Prefs/Workbench.
Without OS 3.5+ you can add the instruction FastColors below
IPrefs in your startup-sequence. Works with a 512 byte cache.

The library has a color reduction routine for PNG and OS4 ARGB
icons which is based on 15 bits for the first 100 colors now.
The comparison is done with less bits step by step when more
colors are required. The resulting quality is close to HiColor.
The cache for the screens colortable is built just once after
booting and will be updated only if the number of shared pens
has changed. The colormapping and the bitplanes for the second
image of any icon won't be done before the icons are selected.

A new space optimization routine for writing is included now.
It's always activated, regardless of the option settings, and
it rebuilds the colortables from scratch closing possible gaps
and avoiding multiple entries with the same RGB values. The
new and shorter data compression code should also be faster.
The icon images are now always compressed, but the RGB color
tables on the other side will not be compressed. It's faster.

This icon.library will automatically detect if the PowerIcons
patch has been installed on your system. You should make use of
the PowerIcons patch when your Workbench is in truecolor mode.
My modified PowerIcons 0.08 will display all icons perfectly.
I made a patched file of the PowerIcons program disabling its
PNG icon detection in order to pass on the PNG decoding to the
icon.library. The PowerIcons program is still very usefull for
drawing the images then directly in high quality to the screen.
With this little trick it's even possible to display Dual-PNG.
The original PowerIcons 1.06 is copyrighted by Elena Novaretti.

This icon.library can also be used without conflicts on AfA_OS
since release 4.7. But AfA_OS has its own Icon_Lib.exe and will
do most of the icon drawing itself if loaded from AfA_OS_LIBS:.

 Downloads:
 ~~~~~~~~~
http://aminet.net/package/util/libs/IconLib_46.4 for max speed
http://aminet.net/package/util/wb/PowerIcons     for truecolor

 Installation:
 ~~~~~~~~~~~~
On OS 3.5+ just copy the icon.library into your LIBS: drawer.

The PowerIcons program v0.08 is for gfx-cards only and should
not be used together with DOpus MagellanII. That will not work.
PowerIcons has to be run from the startup-sequence but it can
also be stopped and re-started again from a Workbench icon. It
seems that PowerIcons has a problem with some HiColor screens.

Always have a look into the supplied readme or guide files of
all additional packages and read the installation instructions.
The library will prefer to use FastMem when FBlit is detected.
There are 3 additional shell commands for WB 3.0/3.1 users in
this package: IconFramesON, IconFramesOFF and IconsToFastMem.

 Still to do:
 ~~~~~~~~~~~
The next step should be to integrate a direct drawing routine
for Hi/TrueColor screens like in PowerIcons, AfA_OS or Scalos.

 Distribution:
 ~~~~~~~~~~~~
This program is freeware. I don't give any warranties. You are
using this program on your own risk and you are responsible for
any damage it could cause to your system. This icon.library is
now completely independent and free of the AmigaOS copyright :)
My (PhxAss) source code is supplied and can be used by anybody.

Thanks to all users who've sent bugreports or made suggestions.

 Copyright 2007-2013:
 ~~~~~~~~~~~~~~~~~~~
   Peter Keunecke




Contents of util/libs/IconLib_46.4.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1842    2749  67.0% -lh5- e762 May  1 04:15 IconLib_46.4.info
[unknown]                 1837    2740  67.0% -lh5- 9ebb May  1 04:15 IconLib_46.4/C.info
[unknown]                  105     108  97.2% -lh5- 5029 May  1 04:15 IconLib_46.4/c/FastColors
[unknown]                  104     108  96.3% -lh5- 3455 May  1 04:15 IconLib_46.4/c/GrayscaleOnOff
[unknown]                  104     108  96.3% -lh5- 84aa May  1 04:15 IconLib_46.4/c/IconFramesOFF
[unknown]                  104     108  96.3% -lh5- 95b2 May  1 04:15 IconLib_46.4/c/IconFramesON
[unknown]                  105     108  97.2% -lh5- dec6 May  1 04:15 IconLib_46.4/c/IconsTo24BitDmaMem
[unknown]                  104     108  96.3% -lh5- b47f May  1 04:15 IconLib_46.4/c/IconsToFastMem
[unknown]                36254   63404  57.2% -lh5- 0e1a May  1 04:15 IconLib_46.4/c/PowerIcons
[unknown]                46494   46494 100.0% -lh0- cfc8 May  1 04:15 IconLib_46.4/extras/WbLib_45.132pch.lha
[unknown]                 3087    6878  44.9% -lh5- 848a May  1 04:15 IconLib_46.4/IconLib_46.4.readme
[unknown]                 3666    5009  73.2% -lh5- 2d88 May  1 04:15 IconLib_46.4/IconLib_46.4.readme.info
[unknown]                 1834    2740  66.9% -lh5- db0c May  1 04:15 IconLib_46.4/Libs.info
[unknown]                20242   29888  67.7% -lh5- f979 May  1 04:15 IconLib_46.4/libs/icon.library
[unknown]                 1843    2740  67.3% -lh5- 5afe May  1 04:15 IconLib_46.4/Source.info
[unknown]                  430    1443  29.8% -lh5- 4d9a May  1 04:15 IconLib_46.4/source/FastColors.asm
[unknown]                 3666    5009  73.2% -lh5- 0f0e May  1 04:15 IconLib_46.4/source/FastColors.asm.info
[unknown]                  435    1501  29.0% -lh5- e2b6 May  1 04:15 IconLib_46.4/source/GrayscaleOnOff.asm
[unknown]                 3665    5009  73.2% -lh5- 8f77 May  1 04:15 IconLib_46.4/source/GrayscaleOnOff.asm.info
[unknown]                94994  620496  15.3% -lh5- e73c May  1 04:15 IconLib_46.4/source/icon.library.46.4.284.asm
[unknown]                 3666    5009  73.2% -lh5- 9b3c May  1 04:15 IconLib_46.4/source/icon.library.46.4.284.asm.info
[unknown]                  428    1437  29.8% -lh5- a191 May  1 04:15 IconLib_46.4/source/IconFramesOFF.asm
[unknown]                 3665    5009  73.2% -lh5- 1b45 May  1 04:15 IconLib_46.4/source/IconFramesOFF.asm.info
[unknown]                  428    1438  29.8% -lh5- 5663 May  1 04:15 IconLib_46.4/source/IconFramesON.asm
[unknown]                 3666    5009  73.2% -lh5- 6769 May  1 04:15 IconLib_46.4/source/IconFramesON.asm.info
[unknown]                  437    1487  29.4% -lh5- 7d4f May  1 04:15 IconLib_46.4/source/IconsTo24BitDmaMem.asm
[unknown]                 3665    5009  73.2% -lh5- e710 May  1 04:15 IconLib_46.4/source/IconsTo24BitDmaMem.asm.info
[unknown]                  426    1473  28.9% -lh5- a23d May  1 04:15 IconLib_46.4/source/IconsToFastMem.asm
[unknown]                 3666    5009  73.2% -lh5- f35b May  1 04:15 IconLib_46.4/source/IconsToFastMem.asm.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        29 files  240962  827628  29.1%            Apr 30 20:45

Aminet © 1992-2013 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>