Re: NSImage NSInternalInconsistencyException
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