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 protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/lists%40tobyz.net
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]