if (do_name() != 'Home') : ?>
endif ?>
Posted by Tom on Jan 25, 2010
....and I should also show the interfaces for the Jitter Connect Framework:
@interface JitterConnector : NSObject { int sockfd; } - (void)sendMatrix:(NSImage *)image; - (void)sendMessage:(NSString *)message; - (int)connectToHost:(char *)host port:(int)port; - (void)disconnect;
Posted by Tom on Jan 25, 2010
Ok, got it by reading the source code from trunk ;-)
img = canvas._nsImage
Posted by Tom on Jan 25, 2010
include("util/comment.php"); ?>
Finally. there's an image to watch: http://www.flickr.com/photos/39354298@N06/4304146997/
NSImage
Posted by Tom Fuerstner on Jan 25, 2010Hi,
I've recently developed a Jitter Connect Framework which enables me to send drawings done with Python/Pyobjc directly as native Jitter Matrix into Max/MSP Jitter.
Now, as Nodebox is really my favourite graphic toolbox I would like to send Nodebox drawing directly into Jitter instead of saving them as files. Getting Nodebox as a powerful and native Vector-Graphics-Engine inside of Max is a beautiful thing.
To accomplish this task all there is to know is how to get all the Grobs or the Canvas turned into a NSImage instead of saving them to disk. How is it possible to do this?
The exemplified code is showing how this is achieved directly with "pure" :