• 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: Very odd NSImage problem ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very odd NSImage problem ...


  • Subject: Re: Very odd NSImage problem ...
  • From: SA Dev <email@hidden>
  • Date: Thu, 16 Jun 2005 19:24:52 -0400


Really? So it's not able to be done right out of the box? Well, I'm relieved *and* annoyed. So any chance you remember the name of the Python project? ;-)



On Jun 16, 2005, at 7:03 PM, Stéphane Sudre wrote:


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
References: 
 >Re: Very odd NSImage problem ... (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Very odd NSImage problem ...
  • Next by Date: Re: Very odd NSImage problem ...
  • Previous by thread: Re: Very odd NSImage problem ...
  • Next by thread: Core Data: "Failed To Create New Object"
  • Index(es):
    • Date
    • Thread