- Declared In:
- NSImage+misc.h
- - normalizeSize
- + imageInBundleForClass:named:
- + imageInBundleForClass:named:inDirectory:
+ (NSImage *)imageInBundleForClass:(Class)aClass named:(NSString *)imageName
Return an image in the same bundle as the given class, with the given name. If the image is not found, the placeholder "broken.tiff" image is used.
+ (NSImage *)imageInBundleForClass:(Class)aClass named:(NSString *)imageName inDirectory:(NSString *)directory
Return an image in the same bundle as the given class, with the given name, in the given subfolder. If the image is not found, the placeholder "broken.tiff" image is used.
- (NSImage *)normalizeSize
If a bitmap image, fix the size of the bitmap so that it is equal to the exact pixel dimensions.