Re: filling NSImage with binary data from NSData
Re: filling NSImage with binary data from NSData
- Subject: Re: filling NSImage with binary data from NSData
- From: "marc joanisse" <email@hidden>
- Date: Mon, 8 May 2006 10:09:20 -0400
On 5/8/06, Lester Dowling <email@hidden> wrote:
That's what I used to think, too -- it's just what I found to work
reliably in my applications. In this case, you're right though because
I found the seg fault doesn't happen because of the planar setting.
I've tried it both ways and apparently it doesn't matter, at least in my app.
object when it has already been auto-released. The problem is fixed by
substituting this line:
vmrData = [[NSData dataWithContentsOfFile:fileName] retain];
Yes, of course. Thanks for the help everyone. It works swimmingly now.
Thanks to everyone for their help,
-Marc-
--
Marc Joanisse
"... and such small quantities."
_______________________________________________
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