Re: Convert PICT to NSImage (SOLVED)
Re: Convert PICT to NSImage (SOLVED)
- Subject: Re: Convert PICT to NSImage (SOLVED)
- From: "Sean McBride" <email@hidden>
- Date: Tue, 28 Jun 2005 12:59:00 -0400
- Organization: Rogue Research
On 2005-06-28 09:32, Ian was here said:
>HLock( (Handle)thePict );
>
>NSData *pictData = [NSData dataWithBytes:*thePict
>length:GetHandleSize( (Handle)thePict )];
>
>HUnlock( (Handle)thePict );
FYI, HLock() is being deprecated and in fact does nothing on OS X...
Don't bother with it. See MacMemory.h for details.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden