I would like to provide the feature such as displaying the items dragged with a badge as in iPhoto. I did this by creating CGContext and getting image data's and adding to the context. And then got the data and rendered as jpg image using '.jpeg' library. Is there anyway we can do this using Cocoa framework. Any help appreciated.