I know I can use "UIImagePNGRepresentation(UIImagexxx)" to get the png representation of a UIImage object. But I'm not sure how I can do something similar for NSImage. I could only find TIFFRepresentation available for NSImage objects.
Any ideas? Thanks a lot