[PD] pix_image & memory use

enrique franco rugitus at gmail.com
Wed Sep 9 19:18:22 CEST 2009


Hey Ben,

I don´t understand how to use the "open" and "save" messages to pix_buffer..

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.

Any ideas?

Enrique

On Tue, Sep 8, 2009 at 3:56 PM, B. Bogart <ben at ekran.org> wrote:

> 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/<http://richie.idc.ul.ie/%7Eenrique/>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Enrique Franco
Telefono/Phone: +572 5552334 ext 388
Webpage: http://richie.idc.ul.ie/~enrique/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090909/3cfe60f2/attachment.htm>


More information about the Pd-list mailing list