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/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
