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+.
Stefan
_______________________________________________
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