Results 1 to 10 of 61

Thread: Allegro.pas

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Cool! Will you also add support for PNG? I know you'd need to rebuild Allegro's DLL with PNG support and link it with libpng and zlib, but IMO it would be worth it as 32bit PNG images are significantly smaller than 32Bit TGA images.

  2. #2
    Allegro.pas 5 alpha 1 can load PNG files out-of-the-box. Just add unit al5image to the USES clause and call "al5image.al_init_image_addon;" procedure after initialising Allegro. Of course, as you said, your Allegro intallation must include PNG support.

    I should complete the documentation, then Allegro.pas 5 should became the TRUNK and Allegro.pas 4 will became "legacy".
    Last edited by Ñuño Martínez; 29-05-2013 at 11:29 AM.
    No signature provided yet.

  3. #3
    Can you make for v5 allegro compiled with PNG and without, for convenience? Or with PNG if it isn't feasible to include both.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •