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

util/libs/pngflux.zip

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:load,decode + draw PNG with alphachannel
Author:info at torakosmos.de (Andreas G. Szabo)
Uploader:info torakosmos de
Type:util/libs
Version:2.3
Requires:68020+, OS3.0+, cybergraphics
Architecture:m68k-amigaos
Date:2014-08-31
Download:http://aminet.net/util/libs/pngflux.zip - View contents
Readme:http://aminet.net/util/libs/pngflux.readme
Downloads:478

===============================================================
DESCRIPTION
===============================================================

Use pngflux.library in your programs to load, decode and draw
PNG pictures with alphachannel.

With developer .doc and includes for ASM and C.

===============================================================
RECENT NEWS
===============================================================

NEWS IN V2

* added DrawClip() and DrawArray()
* added C includes
* faster drawing

NEWS IN V1

* first release

===============================================================
CENTRAL FEATURES
===============================================================

The library currently has five functions:

Load()     -> you supply a filenamen and pngflux does the rest

Draw()     -> you supply the object returned by Load(),
              a rastport and an x and y coordinate and pngflux
              does the rest

DrawClip() -> you supply the object returned by Load(),
              a rastport and an x and y coordinate
              and additionally an x and y coordinate in the
              image and the width and height of the part to draw

DrawArray()-> same as DrawClip() but 'draws' the part into an RGB
              array that you may provide

GetAttr()  -> you supply the object and an attribute number and
              you get the value associated with that number.
              Currently supported attributest are:
                   PNGFA_ARGBData -> get a pointer to the RAW
                                     ARGB data.

You may read the Width and the Height of the loaded image directly
from public fields of the object.

When you do not need the image anymore, just dispose it with
exec.library FreeVec().

Errors that happen at loading may be examined with dos.library
IoErr(), even such as when there is not enough memory.

The library functions register descriptions yet are in
the pngflux_lib.i include, until I write the pngflux.doc.

===============================================================
OLDER NEWS
===============================================================

Yet none.

===============================================================
MISC AND CREDITS
===============================================================

Related forum thread is there:
http://eab.abime.net/showthread.php?t=74927

pngflux.library is based on PNG decrunch and defilter sources
by Peter Keunecke. Decruncher is based on zlib by
Jean-loup Gailly and Mark Adler.

C includes and testprogram source by Thomas Rapp,
http://thomas-rapp.homepage.t-online.de/

Zak McKracken for President

===============================================================
DISCLAIMER
===============================================================

THIS SOFTWARE PACKAGE IS PROVIDED 'AS-IS' WITHOUT ANY WARRANTY.
I CANNOT BE HELD LIABLE FOR ANY DAMAGE ARISING OUT OF THE
(INABILITY OF MAKING) USE OF IT: USE AT YOUR OWN RISK.



Contents of util/libs/pngflux.zip
Archive:  /home/aminet/aminet_root/doc//util/libs/pngflux.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2014-08-31 12:04 00000000  pngflux_v2.3/
    3207  Defl:N     1270  60% 2014-08-31 12:04 ada0b1fa  pngflux_v2.3/pngflux.readme
       0  Stored        0   0% 2014-08-31 12:03 00000000  pngflux_v2.3/libs/
    5424  Defl:N     4359  20% 2014-08-31 11:54 4548a901  pngflux_v2.3/libs/pngflux.library
       0  Stored        0   0% 2014-08-31 03:44 00000000  pngflux_v2.3/developer/
    1680  Defl:N      816  51% 2014-08-31 02:10 c50f0976  pngflux_v2.3/developer/test.c
    1128  Defl:N      611  46% 2014-08-30 12:50 83e5d288  pngflux_v2.3/developer/pngflux.i
    2606  Stored     2606   0% 2014-08-25 08:46 e8ca7a47  pngflux_v2.3/developer/alphatest.png
     560  Defl:N      271  52% 2014-08-30 12:34 a94d209b  pngflux_v2.3/developer/pngflux_lib.i
    5342  Defl:N     1515  72% 2014-08-30 12:25 7ce7d9a4  pngflux_v2.3/developer/pngflux.doc
    1798  Defl:N      879  51% 2014-08-31 02:10 2a2f7607  pngflux_v2.3/developer/test2.c
       0  Stored        0   0% 2014-08-31 02:12 00000000  pngflux_v2.3/developer/include_h/
       0  Stored        0   0% 2014-08-31 02:11 00000000  pngflux_v2.3/developer/fd/
     339  Defl:N      186  45% 2014-08-31 02:10 62d28ae4  pngflux_v2.3/developer/fd/pngflux_lib.fd
       0  Stored        0   0% 2014-08-31 02:13 00000000  pngflux_v2.3/developer/include_h/proto/
     507  Defl:N      250  51% 2014-08-31 02:10 f0d09c6e  pngflux_v2.3/developer/include_h/proto/pngflux.h
       0  Stored        0   0% 2014-08-31 02:14 00000000  pngflux_v2.3/developer/include_h/pragma/
     938  Defl:N      344  63% 2014-08-31 02:10 76d7ea47  pngflux_v2.3/developer/include_h/pragma/pngflux_lib.h
       0  Stored        0   0% 2014-08-31 05:00 00000000  pngflux_v2.3/developer/include_h/libraries/
     860  Defl:N      452  47% 2014-08-31 04:59 040380f5  pngflux_v2.3/developer/include_h/libraries/pngflux.h
       0  Stored        0   0% 2014-08-31 02:13 00000000  pngflux_v2.3/developer/include_h/inline/
    1834  Defl:N      517  72% 2014-08-31 02:10 d8c9a007  pngflux_v2.3/developer/include_h/inline/pngflux_protos.h
    1511  Defl:N      505  67% 2014-08-31 02:10 1ffd3479  pngflux_v2.3/developer/include_h/inline/pngflux.h
       0  Stored        0   0% 2014-08-31 02:13 00000000  pngflux_v2.3/developer/include_h/clib/
     835  Defl:N      342  59% 2014-08-31 02:10 eb341670  pngflux_v2.3/developer/include_h/clib/pngflux_protos.h
--------          -------  ---                            -------
   28569            14923  48%                            25 files

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