- Declared In:
- NSImage+XFace.h
All X-Face related methods are based on code written by James Ashton, Sydney University in June 1990.
Handling the X-Face format
- - initWithXFaceData:
- - xFaceData
- (id)initWithXFaceData:(NSData *)someData
Initialises a newly created image by decoding the X-Face format image in someData.
- (NSData *)xFaceData
Returns the receiver in X-Face format if it contains an appropriate representation or nil
otherwise. An appropriate representation is a 48 x 48 pixels NSBitmapImageRep in either NSDeviceWhiteColorSpace
or NSDeviceBlackColorSpace.