@interface NSBitmapImageRep : NSImageRep
|
// Initializers |
- (id)initForIncrementalLoad;
|
- (id)initWithBitmapDataPlanes:(unsigned char **)planes pixelsWide:(int)width pixelsHigh:(int)height
bitsPerSample:(int)bps samplesPerPixel:(int)spp hasAlpha:(BOOL)alpha isPlanar:(BOOL)isPlanar
colorSpaceName:(NSString *)colorSpaceName bytesPerRow:(int)rBytes bitsPerPixel:(int)pBits;
|
- (id)initWithData:(NSData *)tiffData;
|
- (id)initWithFocusedViewRect:(NSRect)rect;
|
// Accessor Methods |
- (void)setCompression:(NSTIFFCompression)compression factor:(float)factor;
|
- (void)setProperty:(NSString *)property withValue:(id)value;
|
// Class Methods |
+ (NSData *)TIFFRepresentationOfImageRepsInArray:(NSArray *)array;
|
+ (NSData *)TIFFRepresentationOfImageRepsInArray:(NSArray *)array usingCompression:(NSTIFFCompression)comp
|
+ (void)getTIFFCompressionTypes:(const NSTIFFCompression **)list count:(int *)numTypes;
|
+ (id)imageRepWithData:(NSData *)tiffData;
|
+ (NSArray *)imageRepsWithData:(NSData *)tiffData;
|
+ (NSString *)localizedNameForTIFFCompressionType:(NSTIFFCompression)compression;
|
+ (NSData *)representationOfImageRepsInArray:(NSArray *)imageReps
usingType:(NSBitmapImageFileType)storageType properties:(NSDictionary *)properties;
|
// Instance Methods |
- (NSData *)TIFFRepresentation;
|
- (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)factor;
|
- (unsigned char *)bitmapData;
|
- (int)bytesPerRow;
|
- (int)bitsPerPixel;
|
- (int)bytesPerPlane;
|
- (BOOL)canBeCompressedUsing:(NSTIFFCompression)compression;
|
- (void)colorizeByMappingGray:(float)midPoint toColor:(NSColor *)midPointColor
blackMapping:(NSColor *)shadowColor whiteMapping:(NSColor *)lightColor;
|
- (void)getBitmapDataPlanes:(unsigned char **)data;
|
- (void)getCompression:(NSTIFFCompression *)compression factor:(float *)factor;
|
- (int)incrementalLoadFromData:(NSData*)data complete:(BOOL)complete;
|
- (BOOL)isPlanar;
|
- (int)numberOfPlanes;
|
- (NSData *)representationUsingType:(NSBitmapImageFileType)storageType
properties:(NSDictionary *)properties;
|
- (int)samplesPerPixel;
|
- (id)valueForProperty:(NSString *)property;
|