reggae png decoder-demuxer WIP version
  • MorphOS Developer
    zukow
    Posts: 645 from 2005/2/9
    From: Poland
    http://brain.umcs.lublin.pl/~rzookol/download/png_beta.lha

    png.alib (from ambient) is required.

    [ Edited by zukow on 2008/1/6 20:45 ]
  • »06.01.08 - 18:11
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    tokai
    Posts: 1289 from 2003/2/25
    From: binaryriot
    I'm not sure if depending on this private Ambient library is a good thing for various reasons:

    - as its private we (as the Ambient developers) reserve us the right to change the API anytime (not very likely, but thats what private means).

    - your class breaks with the upcoming release of MorphOS 2.0, because Ambient coming with MorphOS 2.0 does not have png.alib (or z.alib too) anymore.


    I suggest you link libpng.a statically for now and as soon MorphOS 2.0 & SDK are released you simply recompile it with support for shared png.library (thats very easy and probably not even require change of source unless u really want to).

    regards,
    tokai
  • »06.01.08 - 20:13
    Profile Visit Website
  • MorphOS Developer
    zukow
    Posts: 645 from 2005/2/9
    From: Poland
    What is the difference between png.alib and png.library ?

    In ambient sources there is a code:

    #if USE_SHARED_LIBPNG
    if ((PNGBase = OpenLibrary("png.library", 50)))
    #else
    if ((PNGLibBase = OpenLibrary("MOSSYS:Ambient/libs/png.alib", 1)))
    #endif

    so I have the similar code in my class waiting for Mos2.0 release.
  • »06.01.08 - 21:06
    Profile Visit Website