Hi Martin—

On 2011-08-29, at 8:18 AM, Martin Linklater wrote:

> Can anyone point me in the right direction as to how to save my NSImage to a 
> PNG file ? Or some documentation which actually describes how to convert the 
> NSCGImageSnapshotRep into something I can save out ? I've spent a few hours 
> on this now and I can't believe there isn't an easy solution I'm missing.


Take a look here: 
http://stackoverflow.com/questions/4438802/nscgimagesnapshotrep-how-get-bitmapdata

HTH,


—Mt.

--
Phone: +1-416-630-6202 x.666
Twitter: @mtabini


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to