If you don't want the image to be accessible in the application bundle or if the image has to be in a command line tool (without bundle): how do you embed an image in the source code - kind of static NSData ?

When creating a 8-bits gray scale off-screen image by manually drawing in it,
it always turn out to be a 24-bits one when saved to disk using: - (NSData *)representationUsingType:(NSBitmapImageFileType)storageType properties:(NSDictionary *)properties.