Dumping an image from jit.sketch to a matrix?

Apr 11, 2008 at 9:22am

Dumping an image from jit.sketch to a matrix?

Hello list

I’ve been looking a bit on the jsui_spherepen-example, which can be found in the folder …MaxMSP/examples/javascript/ui

Could someone please help me find a way for dumping a finnished drawing out to a jit.matrix for further processing, like a “dump”-method or something?

Any help will be appreciated.

#36860
Apr 14, 2008 at 7:35pm

Sorry to bump this, but after having a look at the jsui_imagestuff-example I’ve managed to incorporate two methods which transform the drawing into a texture. And that’s progress;)

But eventually I want to save the drawing to disk using a jit.matrix, or through one of the quicktime objects. How do I get the texture out of the JSUI object, as a matrix? Anyone’s got a hint?

#126864
Apr 15, 2008 at 8:44pm

On Apr 14, 2008, at 12:35 PM, Lut Lei wrote:
>
> But eventually I want to save the drawing to disk using a
> jit.matrix, or through one of the quicktime objects. How do I get
> the texture out of the JSUI object, as a matrix? Anyone’s got a hint?

See jsui_matriximage-example.pat

-Joshua

#126865
Apr 15, 2008 at 9:25pm

I’m shocked. All the time, it was there. Right in front of me, in the other-folder. So many hours searching… And now: copy, paste, and it’s working!

Thank you very much, jkc;) I had to fix this till tomorrow.

#126866

You must be logged in to reply to this topic.