Screen Capture
Screen Capture
- Subject: Screen Capture
- From: David Blanton <email@hidden>
- Date: Thu, 05 Jun 2003 15:03:52 -0600
Some time ago I asked the list for suggestions on making a screen capture
program. Receiving no response I nm'ed Grab and looked at its imports.
Using that as a starting place I have completed the project. So now I know
more about NSImageView, NSBitMapImageRep and how display data is laid out
and how the planes parameter of
- (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
Expects its data to be ordered. Display data is AARRGGBB and meshed planes
data has to be RRGGBBAA.
Cocoa is too cool.
Peace.
--
David Blanton
"Cocoa FNG"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.