Re: [AD] Is there a licensing reason why PNG isn't built-in to Allegro?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I know that OpenLayer works on OSX, and that  loads  pngs. But I think it uses ldpng rather than loadpng,  and I have a feeling these are two separate things.

In fact, OSX's NSImage class can load BMP, GIF, JPG, TIFF and PNG so on that platform, a BITMAP <-> NSImage bridge would work well. Likewise GdiPlus::Bitmap for windows folk.

Pete

On 27/03/06, Siarhei Siamashka <siarhei.siamashka@xxxxxxxxxx> wrote:
Milan Mimica wrote:

> Kirk Black wrote:
>
>> I'm not very familiar with PNG.  It seems like a good format to use but I
>> notice Allegro doesn't have built-in support but rather one must get the
>> loadpng/libpng/zlib libraries and build them as options.  Are there
>> licensing or technical reasons why PNG isn't built-in with Allegro?
>
>
> It would add more dependencies.
> I think we're about pulling all bitmap format stuff out of allegro core.

This is somewhat related. Did anybody successfully use loadpng addon on
MacOS X? Looks like we are having some strange problems. Alpha channel
and some other colors appear to be swapped, see screenshot:
http://www.xcomufo.com/forums/index.php?showtopic=8571&st=47

I don't have Mac myself, so it is hard to investigate this problem for
me. But if it is loadpng problem, having loadpng as a part of allegro
library would certainly help to improve its portability.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/