Please don't cross-post. On Sep 10, 2012, at 2:31 AM, Abhijit Apte wrote:
> I can pick out NSImageRep objects of NSImage and then use [NSImageRep > CGImageForProposedRect:context:hints:] method to extract CGImageRef. I can do > grayscale conversion on each of these CGImageRefs, however I cannot put these > back into a single NSImage. Why not? You can create NSBitmapImageReps from CGImages, set the size of each using -setSize:, and add them to an NSImage using -addRepresentation:. Regards, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com