lcd write to other formats (not PICT)

jtdancemusician's icon

Is it possible to write the contents of an lcd object to a different file format than PICT? I would like to save them as jpg or ping, something that could be displayed directly in a web browser.

Thanks.

vade's icon

If you have Jitter, use jit.lcd rather than LCD and you can output to
any QT format, including png or jpeg.

v a d e //

www.vade.info
abstrakt.vade.info

On Oct 5, 2006, at 4:30 PM, John Toenjes wrote:

>
> Is it possible to write the contents of an lcd object to a
> different file format than PICT? I would like to save them as jpg
> or ping, something that could be displayed directly in a web browser.
>
> Thanks.
> --
> jtdancemusician

jtdancemusician's icon

yes, I'm using jit.lcd. So you can just send a "writejpg" (or would it be "writejpeg"?) message and it will do the trick?

vade's icon

sent the matrix output to jit.qt.record or jit.vcr.

im not certain if jit.lcd has its own record/write to disk options,
but jitter certainly has.

v a d e //

www.vade.info
abstrakt.vade.info

On Oct 5, 2006, at 5:37 PM, John Toenjes wrote:

>
> yes, I'm using jit.lcd. So you can just send a "writejpg" (or would
> it be "writejpeg"?) message and it will do the trick?
> --
> jtdancemusician

Gary Lee Nelson's icon

I have been using Grab on a pwindow with border 0. Creates a .tiff file
with saves to other formats I think.

On 10/5/06 4:30 PM, "John Toenjes" wrote:

>
> Is it possible to write the contents of an lcd object to a different file
> format than PICT? I would like to save them as jpg or ping, something that
> could be displayed directly in a web browser.
>
> Thanks.
> --
> jtdancemusician

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Joshua Kit Clayton's icon

On Oct 5, 2006, at 5:16 PM, vade wrote:

> sent the matrix output to jit.qt.record or jit.vcr.

FWIW, jit.matrix's exportimage method is probably more suited to this
application. jit.qt.record/jit.vcr write to a movie container which
can have a JPEG as a media sample within the movie.

-Joshua

jtdancemusician's icon

Thanks very much for your excellent ideas. Perfect solution to send jit.lcd to a jit.matrix and then exportimage.