NSCacheImageRep woes
NSCacheImageRep woes
- Subject: NSCacheImageRep woes
- From: Nicholas Francis <email@hidden>
- Date: Wed, 14 Jan 2004 21:18:25 +0100
Hi guys - I have a small problem getting to my image data.
I load a bitmap image (tiff) using the +[NSImage imageNamed:] method,
and want to access the pixel data....
However, when the user runs in 16bpp on the desktop, when looking
through the bitmap's representations, I only get one NSCachedImageRep.
FWIW, here is the its -description:
NSCachedImageRep 0x1980df0 Size={12, 12}
ColorSpace=NSCalibratedRGBColorSpace BPS=4 Pixels=12x12 Alpha=NO
What gives? I would expect to also have the original NSBitmapImageRep
that the cache is generated from. I tried looking through NSImage
documentation, but can find no function I have to call to make it keep
the data around.
Nicholas Francis
------------------------------------------------------------------------
-------
Scheduling fascist - Over The Edge Entertainments
_______________________________________________
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.