I got a image with only one representation, and that was a NSCGImageSnapshotRep
.
I tried [NSCGImageSnapshotRep bitmapData]
but, the class has no selector for bitmapData
.
Someone knows this class? How can I get the bitmapData
?
I'm getting this NSImage from Webkit [DOMElement renderedImage]
.
Create bitmap of a DOMElement Objective C
The correct use is [NSBitmapImageRep representationUsingType:id properties:id]
, this means doesn't work in the case.
I didn't think about compatibily, I'll be glad to find a solution 10.5+ or 10.6+.