Re: Very odd NSImage problem ...
Re: Very odd NSImage problem ...
- Subject: Re: Very odd NSImage problem ...
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 17 Jun 2005 01:03:37 +0200
On vendredi, juin 17, 2005, at 12:59 AM, SA Dev wrote:
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?
Isn't there some Python extension introduced with Panther that can do
this?
_______________________________________________
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