Very odd NSImage problem ...
Very odd NSImage problem ...
- Subject: Very odd NSImage problem ...
- From: SA Dev <email@hidden>
- Date: Thu, 16 Jun 2005 18:59:37 -0400
List:
I'm writing a quick command-line tool that's going to run on an a
server, called from other applications. The tool loads an image,
processes it, then kicks out the modified image as another file.
Right out of the gate, I hit a brick wall. No matter what I did,
my NSImage always came back nil (the same code works in a full-blown
app). This led me to double check where NSImage lives - which is part
of AppKit, which if I recall requires a connection to the window
server. I'm thinking this is probably the problem.
So, knowing I can't use NSImage and pals in a command line tool,
what's the best approach? How can I manipulate images in a command
line tool? Does Core Image work from the command line?
... or am I missing something obvious?
_______________________________________________
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