ben,<br><br>have you an example of using the "save" message with pix_buffer ?<br>what is this "save" message function ?<br><br>because there is nothing about that in the documentation<br><br>
<br>thx<br>s.<br><br><div class="gmail_quote">2009/9/8 B. Bogart <span dir="ltr"><<a href="mailto:ben@ekran.org" target="_blank">ben@ekran.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey Enrique,<br>
<br>
In cases like this I use the "open" and "save" messages to pix_buffer.<br>
<br>
You can be sure that the images get replaced, and you can arrange your<br>
images in RAM how you want them.<br>
<br>
In this case you don't use pix_image at all, but pix_buffer_read to show<br>
the buffer.<br>
<br>
.b.<br>
<div><div></div><div><br>
enrique franco wrote:<br>
> Hello,<br>
><br>
> I have a problem loading images into the pix_image object. It seems that<br>
> anytime I load a picture it fills the RAM memory, even if I load the<br>
> same image every time (I just need one image at a time). Is there a way<br>
> to empty the memory when I change the image? There is a point when the<br>
> memory is full and PD shuts down.<br>
><br>
> I´m attaching the patch.<br>
><br>
> Any ideas?<br>
><br>
> Cheers,<br>
><br>
> --<br>
> Enrique Franco<br>
> Telefono/Phone: +572 5552334 ext 388<br>
> Webpage: <a href="http://richie.idc.ul.ie/%7Eenrique/" target="_blank">http://richie.idc.ul.ie/~enrique/</a><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br>