PNG2C
  • Just looking around
    alfaj
    Posts: 1 from 2022/11/7
    From: Germany
    Hello friends,
    I'm on the road to port the BarsnPipes for OS4.1 FE MIDI-sequencer to MOS 3.17.
    This will be also an upgrade to the "old" MOS-version 1.05.
    Some issues were already solved (tasks, processes, interrupts, hooks).
    Now I've the idea to create new ARGB32-Pointers for the program,
    because the recoloring with LoadRGB32() does not work like expected.
    The problem is, for this I need to convert the png images to ARGB32
    colortables.
    In the example for ARGB-Pointers, which is included in the SDK 3.16
    I found a comment: "... converted from a png file with png2c

    I found the source for this tool in the OS4-version.
    Than I tryed it to compile it for MOS 3.17 - failed - no libpng.a.

    Seached the libpng.a - found the sources - compiled it.
    Tryed again to compile png2c - succes - BUT the program doesn't work.

    So I would go the easier way: Is there any programmer which is
    already using the png2c, and would give me a copy for my work to create
    new ARGB-Pointers for BarsnPipes ?

    Kindly thanks
    Alfred Faust
    alfred.j.faust@gmx.de
    www.alfred-j-faust.de


    [ Edited by alfaj 11.12.2022 - 16:49 ]
    Alfred Faust
    alfred.j.faust@gmx.de
    -----------------------------
    furtherdevelopment of BarsnPipes
    the best ever made
    Multimedia-MIDI-Sequencer
    by Blue Ribbon Inc.
  • »11.12.22 - 16:48
    Profile Visit Website
  • Moderator
    Kronos
    Posts: 2246 from 2003/2/24
    Weird, I have always thought it to be part of the MorphOS SDK in someway as it also used for Ambient, but can't find it anywhere "public".

    I do remember that I had 2 versions and only one would work to compile Ambient.


    I just emailed you the one that lives in my c:
  • »11.12.22 - 17:30
    Profile
  • MorphOS Developer
    zukow
    Posts: 643 from 2005/2/9
    From: Poland
    Quote:

    alfaj wrote:

    Seached the libpng.a - found the sources - compiled it.
    Tryed again to compile png2c - succes - BUT the program doesn't work.




    Hi, MorphOS currently has shared version of png/jpeg/z libraries. To add support of png just add -lpng_shared during linking stage. It will open png.library automatically.
  • »11.12.22 - 18:33
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 782 from 2007/10/23
    From: Gelsenkirchen,...
    Dear Alfred,
    You can find png2c-1.1-ixemul.tgz at SourceForge.
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »11.12.22 - 21:34
    Profile