Hey Ben,<br><br>I don´t understand how to use the &quot;open&quot; and &quot;save&quot; messages to pix_buffer..<br><br>I´ve been trying to load jpgs with pix_buffer without pix_image but the problem of memory is the same. I just can empty the RAM when I close PD.<br>

<br>Any ideas?<br><br>Enrique<br><br><div class="gmail_quote">On Tue, Sep 8, 2009 at 3:56 PM, B. Bogart <span dir="ltr">&lt;<a href="mailto:ben@ekran.org">ben@ekran.org</a>&gt;</span> wrote:<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 class="h5"><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">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>
</blockquote></div><br><br clear="all"><br>-- <br>Enrique Franco<br>Telefono/Phone: +572 5552334 ext 388<br>Webpage: <a href="http://richie.idc.ul.ie/~enrique/">http://richie.idc.ul.ie/~enrique/</a><br><br>