Do you mean some numbers/text overlayed onto the image, or to insert a piece of metadata into the file? If the former, it's pretty easy, just open the file as an NSImage and render your text over it using one of NSString's drawAtPoint: or drawInRect: methods.