A question about [bitmapImageRep bitmapData]
A question about [bitmapImageRep bitmapData]
- Subject: A question about [bitmapImageRep bitmapData]
- From: "Brian O'Brien" <email@hidden>
- Date: Fri, 30 Jul 2004 13:30:51 -0600
2004-07-30 13:26:53.628 OpticFlow[11258] bitmaptImageRep
NSCachedImageRep 0x310810 Size={93, 87}
ColorSpace=NSCalibratedWhiteColorSpace BPS=8 Pixels=93x87 Alpha=NO
2004-07-30 13:26:53.628 OpticFlow[11258] *** -[NSCachedImageRep
bitmapData]: selector not recognized
Why is it that bitmapData is not recognized for this image yet it is
for this image?
2004-07-30 13:28:12.526 OpticFlow[11258] bitmaptImageRep
NSBitmapImageRep 0x3a18f0 Size={3072, 2048}
ColorSpace=NSCalibratedRGBColorSpace BPS=8 Pixels=3072x2048
What have I misunderstood?
I'm trying to get the address of the images pixels...
Seems to work for some images but not for others....
Must I put some tests in the code to determine an images type before I
can get the pointer to the data?
Thanks,
Brian.
_______________________________________________
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.