ben,<br><br>have you an example of using the &quot;save&quot; message with pix_buffer ?<br>what is this &quot;save&quot; 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">&lt;<a href="mailto:ben@ekran.org" target="_blank">ben@ekran.org</a>&gt;</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 &quot;open&quot; and &quot;save&quot; 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&#39;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>
&gt; Hello,<br>
&gt;<br>
&gt; I have a problem loading images into the pix_image object. It seems that<br>
&gt; anytime I load a picture it fills the RAM memory, even if I load the<br>
&gt; same image every time (I just need one image at a time). Is there a way<br>
&gt; to empty the memory when I change the image? There is a point when the<br>
&gt; memory is full and PD shuts down.<br>
&gt;<br>
&gt; I´m attaching the patch.<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; --<br>
&gt; Enrique Franco<br>
&gt; Telefono/Phone: +572 5552334 ext 388<br>
&gt; Webpage: <a href="http://richie.idc.ul.ie/%7Eenrique/" target="_blank">http://richie.idc.ul.ie/~enrique/</a><br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <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 -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br>