[PD] pix_image & memory use

stéfan stefanpiat at gmail.com
Wed Sep 9 17:54:36 CEST 2009


ben,

have you an example of using the "save" message with pix_buffer ?
what is this "save" message function ?

because there is nothing about that in the documentation


thx
s.

2009/9/8 B. Bogart <ben at ekran.org>

> 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
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090909/0ef4b4f4/attachment.htm>


More information about the Pd-list mailing list