Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage to output port of a custom patch



Hello,

Related is a patch I released ages ago, which created NSImages and outputted them as objects in a NSDictionary, along with a load of metadata. It also turned out to be a lot simpler to code - just put the NSImage into a NSDictionary, output that and without any further ado it just works.

http://tobyz.net/tobyzstuff/diary/2008/02/spk-stringtoimagestructure

The source should be in the download if you're interested.

toby


On 5 Jul 2009, at 17:08, Adrian Lo wrote:

Dear all,

I'm having some trouble trying to proceed with this custom patch that I've got. The patch basically accepts some numeric input parameters which determines what data to grab from a URL, and renders the results into an image to be send out via the output port of the patch.

I've got the image generated nicely as a NSImage, and I'm not stuck on how to send the NSImage to the output port. Would really appreciate some pointers on this, as I'm not even sure if I should be using NSImage for such operations or not.

thanks in advance,

Adrian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >NSImage to output port of a custom patch (From: Adrian Lo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.