ben,

have you an example of using the "save" message with pix_buffer ?
what is this "save" message function ?

because there is nothing about that in the documentation


thx
s.

2009/9/8 B. Bogart <ben@ekran.org>
Hey Enrique,

In cases like this I use the "open" and "save" messages to pix_buffer.

You can be sure that the images get replaced, and you can arrange your
images in RAM how you want them.

In this case you don't use pix_image at all, but pix_buffer_read to show
the buffer.

.b.

enrique franco wrote:
> Hello,
>
> I have a problem loading images into the pix_image object. It seems that
> anytime I load a picture it fills the RAM memory, even if I load the
> same image every time (I just need one image at a time). Is there a way
> to empty the memory when I change the image? There is a point when the
> memory is full and PD shuts down.
>
> I´m attaching the patch.
>
> Any ideas?
>
> Cheers,
>
> --
> Enrique Franco
> Telefono/Phone: +572 5552334 ext 388
> Webpage: http://richie.idc.ul.ie/~enrique/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list