#import <AppKit/NSBitmapImageRep.h>

@implementation NSBitmapImageRep 
/*bitmapData

Returns a pointer to the bitmap data.

- (unsigned char *)bitmapData
Discussion

If the data is planar, returns a pointer to the first plane.
Availability
Available in Mac OS X v10.0 and later.
See Also
– getPixel:atX:y:*/
- (unsigned char *)bitmapData{}

/*bytesPerRow

Returns the minimum number of bytes required to specify a scan line (a single row of pixels spanning the width of the image) in each data plane.

- (int)bytesPerRow
Discussion

If not explicitly set to another value (in initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:), this number will be figured from the width of the image, the number of bits per sample, and, if the data is in a meshed configuration, the number of samples per pixel. It can be set to another value to indicate that each row of data is aligned on word or other boundaries.
Availability
Available in Mac OS X v10.0 and later.
See Also
– bytesPerPlane*/
- (int)bytesPerRow{}

@end


