otool is your friend when you want to find these things out.
Aperture, Logic and the other Apple Pro apps use a framework called
ProKit. It is internal and private.
See: /System/Library/PrivateFrameworks/ProKit.framework
The images are in a custom binary file:
Slightly OT: Does Apple offer a tool similar to 'indent' for
formatting? I've never tried indent on Objective C files because it
does a miserable job on C++ source files.
I use Uncrustify
http://uncrustify.sourceforge.net/
Hope that helps.
W.
___