On Sat, 24 Mar 2007 00:20:41, Stefan Werner <email@hidden> wrote:
> On 23.03.2007, at 21:13, P McIlroy wrote:
>
>> I have an app that currently uses the QuickTime sdk to open png
>> files on OSX, but uses .bmp files everywhere else.
>> I would like to make it more portable, using libpng.
>
> From personal experience, I can say that FreeImage works nicely for
> cross-platform code if you need more than just png. Since it's based
> on libpng, I don't think there's anything that would hold you back
> from using pure libpng in a Carbon app. I would not necessarily rely
> on the presence of libPng.dylib inside the ImageIO framework, however
> - things like that could change in future OS X versions. You'll be on
> the safe side if you link a static libpng in your app or include a
> dylib in your application bundle.
>
> As others have pointed out, ImageIO is a non-portable alternative you
> can consider if you target 10.4+.
Is this just to stay away from QuickTime (that is cross-platform
already)? BTW, I know at least one new big enough Mac/Win project,
that is being written now, from the scratch and they use QuickTime
in it. I am not a doctor, but they definitely don't look silly...
[For that matter I know another big Mac/Win project that is being
written now from the scratch, that uses Carbon on the Mac side.
I haven't see those people to judge their health.]
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden