• 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 NSInternalInconsistencyException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage NSInternalInconsistencyException


  • Subject: Re: NSImage NSInternalInconsistencyException
  • From: "M. Carlson" <email@hidden>
  • Date: Mon, 23 Jan 2006 17:45:19 +0000

Sorta looks like I'm S.O.L. on this one. Everything works except NSImage -TIFFRepresentation, and who would have thought that it needed a window?

Might there be some kind of game I could play with the environment, where it thinks it can create an off-screen window or some such, or maybe some way to run it as an app in the background since it doesn't really need to access the screen...? There's *gotta* be a way...!

--M


On Sun, 22 Jan 2006 10:47, j o a r wrote:

On 22 jan 2006, at 05.44, M. Carlson wrote:

Obviously, it wants to generate an ad hoc CGSWindow, but my tool requires Foundation, Cocoa, and QuickTime, too. What to do?

You must avoid using "GUI frameworks" in utilities that you expect will be used from the command line when the user running the utility is not logged in. See the "Layered Frameworks" section on this page for more info:

<http://developer.apple.com/technotes/tn2005/tn2083.html>


_______________________________________________
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


  • Follow-Ups:
    • Re: NSImage NSInternalInconsistencyException
      • From: John Pannell <email@hidden>
References: 
 >Re: NSImage NSInternalInconsistencyException (From: j o a r <email@hidden>)

  • Prev by Date: Re: location of text in NSTextView
  • Next by Date: Re: NSImage NSInternalInconsistencyException
  • Previous by thread: Re: NSImage NSInternalInconsistencyException
  • Next by thread: Re: NSImage NSInternalInconsistencyException
  • Index(es):
    • Date
    • Thread