NSBitmapImageRep.m
Authors
- Adam Fedor(
fedor@gnu.org
)
-
Bitmap image representation.
Copyright: (C) 1996 Free Software Foundation, Inc.
Software documentation for the NSBitmapImageRep class
Declared: AppKit/NSBitmapImageRep.h
TIFFRepresentationOfImageRepsInArray:
+ (NSData*) TIFFRepresentationOfImageRepsInArray: (NSArray*)anArray;
TIFFRepresentationOfImageRepsInArray:usingCompression:factor:
+ (NSData*) TIFFRepresentationOfImageRepsInArray: (NSArray*)anArray usingCompression: (NSTIFFCompression)type factor: (float)factor;
getTIFFCompressionTypes:count:
+ (void) getTIFFCompressionTypes: (const NSTIFFCompression**)list count: (int*)numTypes;
imageRepWithData:
+ (id) imageRepWithData: (NSData*)tiffData;
imageRepsWithData:
+ (NSArray*) imageRepsWithData: (NSData*)tiffData;
localizedNameForTIFFCompressionType:
+ (NSString*) localizedNameForTIFFCompressionType: (NSTIFFCompression)type;
representationOfImageRepsInArray:usingType:properties:
+ (NSData*) representationOfImageRepsInArray: (NSArray*)imageReps usingType: (NSBitmapImageFileType)storageType properties: (NSDictionary*)properties;
TIFFRepresentation
- (NSData*) TIFFRepresentation;
TIFFRepresentationUsingCompression:factor:
- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)type factor: (float)factor;
bitmapData
- (unsigned char*) bitmapData;
bitsPerPixel
- (int) bitsPerPixel;
bytesPerPlane
- (int) bytesPerPlane;
bytesPerRow
- (int) bytesPerRow;
canBeCompressedUsing:
- (BOOL) canBeCompressedUsing: (NSTIFFCompression)type;
colorizeByMappingGray:toColor:blackMapping:whiteMapping:
- (void) colorizeByMappingGray: (float)midPoint toColor: (NSColor*)midPointColor blackMapping: (NSColor*)shadowColor whiteMapping: (NSColor*)lightColor;
getBitmapDataPlanes:
- (void) getBitmapDataPlanes: (unsigned char**)data;
getCompression:factor:
- (void) getCompression: (NSTIFFCompression*)type factor: (float*)factor;
initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:
- (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)rowBytes bitsPerPixel: (int)pixelBits;
initWithBitmapHandle:
- (id) initWithBitmapHandle: (void*)bitmap;
initWithData:
- (id) initWithData: (NSData*)tiffData;
initWithFocusedViewRect:
- (id) initWithFocusedViewRect: (NSRect)rect;
initWithIconHandle:
- (id) initWithIconHandle: (void*)icon;
isPlanar
- (BOOL) isPlanar;
numberOfPlanes
- (int) numberOfPlanes;
representationUsingType:properties:
- (NSData*) representationUsingType: (NSBitmapImageFileType)storageType properties: (NSDictionary*)properties;
samplesPerPixel
- (int) samplesPerPixel;
setCompression:factor:
- (void) setCompression: (NSTIFFCompression)type factor: (float)factor;
setProperty:withValue:
- (void) setProperty: (NSString*)property withValue: (id)value;
valueForProperty:
- (id) valueForProperty: (NSString*)property;
Software documentation for the
NSBitmapImageRep(GNUstepExtension)
category
Declared: AppKit/NSBitmapImageRep.h
imageRepsWithFile:
+ (NSArray*) imageRepsWithFile: (NSString*)filename;