• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: filling NSImage with binary data from NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >filling NSImage with binary data from NSData (From: "marc joanisse" <email@hidden>)
 >Re: filling NSImage with binary data from NSData (From: "Greg Herlihy" <email@hidden>)
 >Re: filling NSImage with binary data from NSData (From: "marc joanisse" <email@hidden>)
 >Re: filling NSImage with binary data from NSData (From: Lester Dowling <email@hidden>)
 >Re: filling NSImage with binary data from NSData (From: John Stiles <email@hidden>)
 >Re: filling NSImage with binary data from NSData (From: Lester Dowling <email@hidden>)

  • Prev by Date: NSCalendar and the number of days in a week in a month?
  • Next by Date: Re: NSCalendar and the number of days in a week in a month?
  • Previous by thread: Re: filling NSImage with binary data from NSData
  • Next by thread: NSManagedObject: Best place to start observing SELF
  • Index(es):
    • Date
    • Thread