NSImage shortcuts.
More...
#import <NSImage.h>
+ (id) imageByReferencingURL: |
|
(NSURL *) |
url |
|
Creates and returns an NSImage instance and associates it with the specified URL.
- See also
- initByReferencingURL:
+ (id) imageWithContentsOfURL: |
|
(NSURL *) |
url |
|
Creates and returns an NSImage instance with the contents of the specified URL.
- See also
- initWithContentsOfURL:
+ (id) imageWithPasteboard: |
|
(NSPasteboard *) |
pasteboard |
|
Creates and returns an NSImage instance with data from the specified pasteboard.
- See also
- initWithPasteboard:
- (NSData *) JPEGRepresentationWithCompressionFactor: |
|
(CGFloat) |
compressionFactor |
|
JPEG representation of image using given compression factor.
- (NSData*) JPEGRepresentation |
|
readnonatomicassign |
JPEG representation of image.
- (NSData*) PNGRepresentation |
|
readnonatomicassign |
PNG representation of image.
The documentation for this category was generated from the following file: