Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Is there any sample?
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.