• 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: NSImage TIFFRepresentation memory leak
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage TIFFRepresentation memory leak


  • Subject: Re: NSImage TIFFRepresentation memory leak
  • From: Heinrich Giesen <email@hidden>
  • Date: Sat, 2 Dec 2006 11:23:11 +0100


Roland Torres wrote:

Is there an easier way to go from a CIImage to an image file?

Roland wants to writeout a CIImage and to do this he creates an NSCIImage
and from this he gets data via -TIFFRepresentation.
Troy Stephens gave a code example for a much easier way in:


http://www.cocoabuilder.com/archive/message/cocoa/2005/5/18/136311

Troy Stephens writes:

It's about the same amount of source code as what you had, but avoids
the unnecessary allocation of the intermediate "TIFFRepresentation"
data and NSImage.

Heinrich

--
Heinrich Giesen
email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • [SOLVED] Re: NSImage TIFFRepresentation memory leak
      • From: Roland Torres <email@hidden>
  • Prev by Date: Re: Bindings: changing model changes some views but not others (NSTableColumn)
  • Next by Date: NSBrowserCell state and isHighlighted
  • Previous by thread: Re: NSImage TIFFRepresentation memory leak
  • Next by thread: [SOLVED] Re: NSImage TIFFRepresentation memory leak
  • Index(es):
    • Date
    • Thread