Adds the specified image representation object to the image.
- macOS 10.0+
The image representation to add.
After invoking this method, you may need to explicitly set features of the new image representation, such as the size, number of colors, and so on. This is true particularly when the
NSImage object has multiple image representations to choose from. See
NSImage and its subclasses for the methods you use to complete initialization.
Any representation added by this method is retained by the receiver. Image representations cannot be shared among multiple