Csound Csound-dev Csound-tekno Search About

[Csnd] image opcodes

Date2007-11-22 19:25
FromVictor Lazzarini
Subject[Csnd] image opcodes
Cesare,

can I have your permission to add your
opcodes to Csound in CVS under the LGPL?

If so, can you remind me of the link
again? And another favour: could you then
post the manual pages to Andres?

Victor

Date2007-11-22 23:25
FromCesare Marilungo
Subject[Csnd] Re: image opcodes
Of course.

http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz

I've added the LGPL and a brief syntax description to the source file. I 
will send the manual pages to Andreas in the next 24-48 hours.

By the way, could you please let me know if you'll succeed in compiling 
and using these opcodes on the XO laptop? I am still setting up a 
development and testing environment for it and I don't know if I'll be 
ready before next Monday.

Thanks in advance,

-c.

Victor Lazzarini wrote:
> Cesare,
>
> can I have your permission to add your
> opcodes to Csound in CVS under the LGPL?
>
> If so, can you remind me of the link
> again? And another favour: could you then
> post the manual pages to Andres?
>
> Victor
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>   


-- 
www.cesaremarilungo.com 


Date2007-11-23 00:18
FromAndres Cabrera
Subject[Csnd] Re: Re: image opcodes
Hi,

The opcodes should compile for xo, but not the default install, as it
doesn't include FLTK AFAIK. I'm not sure if it includes the image
libraries you were using before, but if you want them to run easily on
the xo, using a small library rather than FLTK might be a good idea.

Cheers,
Andrés


El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
> Of course.
> 
> http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
> 
> I've added the LGPL and a brief syntax description to the source file. I 
> will send the manual pages to Andreas in the next 24-48 hours.
> 
> By the way, could you please let me know if you'll succeed in compiling 
> and using these opcodes on the XO laptop? I am still setting up a 
> development and testing environment for it and I don't know if I'll be 
> ready before next Monday.
> 
> Thanks in advance,
> 
> -c.
> 
> Victor Lazzarini wrote:
> > Cesare,
> >
> > can I have your permission to add your
> > opcodes to Csound in CVS under the LGPL?
> >
> > If so, can you remind me of the link
> > again? And another favour: could you then
> > post the manual pages to Andres?
> >
> > Victor
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> >
> >
> >   
> 
> 


Date2007-11-23 00:51
FromCesare Marilungo
Subject[Csnd] Re: Re: Re: image opcodes
I am using imlib for this reason. So they hopefully should.

BTW, I have investigated a bit more on FTLK and it seems it lacks image 
saving facility, which makes sense since it is a gui toolkit so images 
are just supposed to be displayed.

I am still looking for a more widespread library to accomplish this. 
Other suggestions?

I would also like to know which is the praxis for this kind of 
situations. Who is the maintainer for the MacOS X and Windows binary 
distributions of csound? Does he/she build them with statically linked libs?

I am willing to port these opcodes to any other available library (it's 
really really easy since I just need to load and save images to/from a 
RGBRGBRGB... array, and the code to load and save is isolated in two 
functions at the beginning of the source) but I can't test or build for 
other platforms other than gnu/Linux.

-c.

Andres Cabrera wrote:
> Hi,
>
> The opcodes should compile for xo, but not the default install, as it
> doesn't include FLTK AFAIK. I'm not sure if it includes the image
> libraries you were using before, but if you want them to run easily on
> the xo, using a small library rather than FLTK might be a good idea.
>
> Cheers,
> Andrés
>
>
> El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>   
>> Of course.
>>
>> http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>
>> I've added the LGPL and a brief syntax description to the source file. I 
>> will send the manual pages to Andreas in the next 24-48 hours.
>>
>> By the way, could you please let me know if you'll succeed in compiling 
>> and using these opcodes on the XO laptop? I am still setting up a 
>> development and testing environment for it and I don't know if I'll be 
>> ready before next Monday.
>>
>> Thanks in advance,
>>
>> -c.
>>
>> Victor Lazzarini wrote:
>>     
>>> Cesare,
>>>
>>> can I have your permission to add your
>>> opcodes to Csound in CVS under the LGPL?
>>>
>>> If so, can you remind me of the link
>>> again? And another favour: could you then
>>> post the manual pages to Andres?
>>>
>>> Victor
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>>   
>>>       
>>     
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>   


-- 
www.cesaremarilungo.com 


Date2007-11-23 02:49
FromCesare Marilungo
Subject[Csnd] Re: image opcodes
Victor, please download this newer version. I've just realized that in 
the previous version, in order to store and retrieve pixel values, I was 
using the same callback for both k-rate and a-rate. Now I rewrote two 
separate callbacks for a-rate that take the whole sample block in account.

http://www.cesaremarilungo.com/download/csound/imageOpcodes20071123.tar.gz

Since this my first go at a csound plugin, would you mind to quickly 
browse the source to see if there's something else I might have overlooked?

Thanks,

- c.

Victor Lazzarini wrote:
> Cesare,
>
> can I have your permission to add your
> opcodes to Csound in CVS under the LGPL?
>
> If so, can you remind me of the link
> again? And another favour: could you then
> post the manual pages to Andres?
>
> Victor
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>   


-- 
www.cesaremarilungo.com 


Date2007-11-23 14:34
FromVictor Lazzarini
Subject[Csnd] Re: Re: image opcodes
Thanks. Will do early next week.

Regards

Victor

At 02:49 23/11/2007, you wrote:
>Victor, please download this newer version. I've just realized that in the 
>previous version, in order to store and retrieve pixel values, I was using 
>the same callback for both k-rate and a-rate. Now I rewrote two separate 
>callbacks for a-rate that take the whole sample block in account.
>
>http://www.cesaremarilungo.com/download/csound/imageOpcodes20071123.tar.gz
>
>Since this my first go at a csound plugin, would you mind to quickly 
>browse the source to see if there's something else I might have overlooked?
>
>Thanks,
>
>- c.
>
>Victor Lazzarini wrote:
>>Cesare,
>>
>>can I have your permission to add your
>>opcodes to Csound in CVS under the LGPL?
>>
>>If so, can you remind me of the link
>>again? And another favour: could you then
>>post the manual pages to Andres?
>>
>>Victor
>>
>>
>>Send bugs reports to this list.
>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>csound"
>>
>>
>>
>
>
>--
>www.cesaremarilungo.com
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


Date2007-11-23 14:37
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: image opcodes
I am the OSX maintainer; Michael Gogins is the Windows maintainer.
Could you just clarify the dependencies? This will probably be crucial
for the XO.

Victor

At 00:51 23/11/2007, you wrote:
>I am using imlib for this reason. So they hopefully should.
>
>BTW, I have investigated a bit more on FTLK and it seems it lacks image 
>saving facility, which makes sense since it is a gui toolkit so images are 
>just supposed to be displayed.
>
>I am still looking for a more widespread library to accomplish this. Other 
>suggestions?
>
>I would also like to know which is the praxis for this kind of situations. 
>Who is the maintainer for the MacOS X and Windows binary distributions of 
>csound? Does he/she build them with statically linked libs?
>
>I am willing to port these opcodes to any other available library (it's 
>really really easy since I just need to load and save images to/from a 
>RGBRGBRGB... array, and the code to load and save is isolated in two 
>functions at the beginning of the source) but I can't test or build for 
>other platforms other than gnu/Linux.
>
>-c.
>
>Andres Cabrera wrote:
>>Hi,
>>
>>The opcodes should compile for xo, but not the default install, as it
>>doesn't include FLTK AFAIK. I'm not sure if it includes the image
>>libraries you were using before, but if you want them to run easily on
>>the xo, using a small library rather than FLTK might be a good idea.
>>
>>Cheers,
>>Andrés
>>
>>
>>El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>>
>>>Of course.
>>>
>>>http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>>
>>>I've added the LGPL and a brief syntax description to the source file. I 
>>>will send the manual pages to Andreas in the next 24-48 hours.
>>>
>>>By the way, could you please let me know if you'll succeed in compiling 
>>>and using these opcodes on the XO laptop? I am still setting up a 
>>>development and testing environment for it and I don't know if I'll be 
>>>ready before next Monday.
>>>
>>>Thanks in advance,
>>>
>>>-c.
>>>
>>>Victor Lazzarini wrote:
>>>
>>>>Cesare,
>>>>
>>>>can I have your permission to add your
>>>>opcodes to Csound in CVS under the LGPL?
>>>>
>>>>If so, can you remind me of the link
>>>>again? And another favour: could you then
>>>>post the manual pages to Andres?
>>>>
>>>>Victor
>>>>
>>>>
>>>>Send bugs reports to this list.
>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>"unsubscribe csound"
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>>Send bugs reports to this list.
>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>csound"
>>
>>
>>
>
>
>--
>www.cesaremarilungo.com
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth



Date2007-11-23 21:15
FromCesare Marilungo
Subject[Csnd] Re: Re: Re: Re: Re: image opcodes
Hi Victor,

I have made another version which can be built with SDL and SDL_image 
(which is the only option I've found on so far on the XO laptop) and 
should work on MacOS X and Windows too. Unfortunately 'imagesave' is not 
implemented on these platforms yet since SDL_image lacks saving ability 
too. This is still a temporary solution.

For gnu/Linux (except on the XO) the only dependency is Imlib and should 
be already installed on almost every distribution. Here 'imagesave' can 
be used.

The file:

http://www.cesaremarilungo.com/download/csound/imageOpcodes20071123sdl.tar.gz

For the XO you can try to build it with:

scons OLPC=1

Ciao,

-c.

Victor Lazzarini wrote:
> I am the OSX maintainer; Michael Gogins is the Windows maintainer.
> Could you just clarify the dependencies? This will probably be crucial
> for the XO.
>
> Victor
>
> At 00:51 23/11/2007, you wrote:
>> I am using imlib for this reason. So they hopefully should.
>>
>> BTW, I have investigated a bit more on FTLK and it seems it lacks 
>> image saving facility, which makes sense since it is a gui toolkit so 
>> images are just supposed to be displayed.
>>
>> I am still looking for a more widespread library to accomplish this. 
>> Other suggestions?
>>
>> I would also like to know which is the praxis for this kind of 
>> situations. Who is the maintainer for the MacOS X and Windows binary 
>> distributions of csound? Does he/she build them with statically 
>> linked libs?
>>
>> I am willing to port these opcodes to any other available library 
>> (it's really really easy since I just need to load and save images 
>> to/from a RGBRGBRGB... array, and the code to load and save is 
>> isolated in two functions at the beginning of the source) but I can't 
>> test or build for other platforms other than gnu/Linux.
>>
>> -c.
>>
>> Andres Cabrera wrote:
>>> Hi,
>>>
>>> The opcodes should compile for xo, but not the default install, as it
>>> doesn't include FLTK AFAIK. I'm not sure if it includes the image
>>> libraries you were using before, but if you want them to run easily on
>>> the xo, using a small library rather than FLTK might be a good idea.
>>>
>>> Cheers,
>>> Andrés
>>>
>>>
>>> El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>>>
>>>> Of course.
>>>>
>>>> http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>>>
>>>> I've added the LGPL and a brief syntax description to the source 
>>>> file. I will send the manual pages to Andreas in the next 24-48 hours.
>>>>
>>>> By the way, could you please let me know if you'll succeed in 
>>>> compiling and using these opcodes on the XO laptop? I am still 
>>>> setting up a development and testing environment for it and I don't 
>>>> know if I'll be ready before next Monday.
>>>>
>>>> Thanks in advance,
>>>>
>>>> -c.
>>>>
>>>> Victor Lazzarini wrote:
>>>>
>>>>> Cesare,
>>>>>
>>>>> can I have your permission to add your
>>>>> opcodes to Csound in CVS under the LGPL?
>>>>>
>>>>> If so, can you remind me of the link
>>>>> again? And another favour: could you then
>>>>> post the manual pages to Andres?
>>>>>
>>>>> Victor
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe csound"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>> "unsubscribe csound"
>>>
>>>
>>>
>>
>>
>> -- 
>> www.cesaremarilungo.com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>> "unsubscribe csound"
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
> "unsubscribe csound"
>


-- 
www.cesaremarilungo.com 


Date2007-11-27 16:53
FromCesare Marilungo
Subject[Csnd] Re: Re: Re: Re: Re: image opcodes
To Victor and Michael,

what if I rewrite the opcodes to use libpng?

http://www.libpng.org/pub/png/libpng.html

This is available (and would allow loading and saving ) on every 
supported platform (and on the XO too).

Of course this would limit the file format to PNG, but it would make 
sense since PNG is an open format and it uses lossless compression (so 
you always keep all the data).

What do you think?

- c.


Victor Lazzarini wrote:
> I am the OSX maintainer; Michael Gogins is the Windows maintainer.
> Could you just clarify the dependencies? This will probably be crucial
> for the XO.
>
> Victor
>
> At 00:51 23/11/2007, you wrote:
>> I am using imlib for this reason. So they hopefully should.
>>
>> BTW, I have investigated a bit more on FTLK and it seems it lacks 
>> image saving facility, which makes sense since it is a gui toolkit so 
>> images are just supposed to be displayed.
>>
>> I am still looking for a more widespread library to accomplish this. 
>> Other suggestions?
>>
>> I would also like to know which is the praxis for this kind of 
>> situations. Who is the maintainer for the MacOS X and Windows binary 
>> distributions of csound? Does he/she build them with statically 
>> linked libs?
>>
>> I am willing to port these opcodes to any other available library 
>> (it's really really easy since I just need to load and save images 
>> to/from a RGBRGBRGB... array, and the code to load and save is 
>> isolated in two functions at the beginning of the source) but I can't 
>> test or build for other platforms other than gnu/Linux.
>>
>> -c.
>>
>> Andres Cabrera wrote:
>>> Hi,
>>>
>>> The opcodes should compile for xo, but not the default install, as it
>>> doesn't include FLTK AFAIK. I'm not sure if it includes the image
>>> libraries you were using before, but if you want them to run easily on
>>> the xo, using a small library rather than FLTK might be a good idea.
>>>
>>> Cheers,
>>> Andrés
>>>
>>>
>>> El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>>>
>>>> Of course.
>>>>
>>>> http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>>>
>>>> I've added the LGPL and a brief syntax description to the source 
>>>> file. I will send the manual pages to Andreas in the next 24-48 hours.
>>>>
>>>> By the way, could you please let me know if you'll succeed in 
>>>> compiling and using these opcodes on the XO laptop? I am still 
>>>> setting up a development and testing environment for it and I don't 
>>>> know if I'll be ready before next Monday.
>>>>
>>>> Thanks in advance,
>>>>
>>>> -c.
>>>>
>>>> Victor Lazzarini wrote:
>>>>
>>>>> Cesare,
>>>>>
>>>>> can I have your permission to add your
>>>>> opcodes to Csound in CVS under the LGPL?
>>>>>
>>>>> If so, can you remind me of the link
>>>>> again? And another favour: could you then
>>>>> post the manual pages to Andres?
>>>>>
>>>>> Victor
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe csound"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>> "unsubscribe csound"
>>>
>>>
>>>
>>
>>
>> -- 
>> www.cesaremarilungo.com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>> "unsubscribe csound"
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
> "unsubscribe csound"
>


-- 
www.cesaremarilungo.com 


Date2007-11-27 17:06
From"Dr. Richard Boulanger"
Subject[Csnd] Re: Re: Re: Re: Re: Re: image opcodes
sounds like a good plan to me!

-dB


On Nov 27, 2007, at 11:53 AM, Cesare Marilungo wrote:

> To Victor and Michael,
>
> what if I rewrite the opcodes to use libpng?
>
> http://www.libpng.org/pub/png/libpng.html
>
> This is available (and would allow loading and saving ) on every  
> supported platform (and on the XO too).
>
> Of course this would limit the file format to PNG, but it would  
> make sense since PNG is an open format and it uses lossless  
> compression (so you always keep all the data).
>
> What do you think?
>
> - c.
>
>
> Victor Lazzarini wrote:
>> I am the OSX maintainer; Michael Gogins is the Windows maintainer.
>> Could you just clarify the dependencies? This will probably be  
>> crucial
>> for the XO.
>>
>> Victor
>>
>> At 00:51 23/11/2007, you wrote:
>>> I am using imlib for this reason. So they hopefully should.
>>>
>>> BTW, I have investigated a bit more on FTLK and it seems it lacks  
>>> image saving facility, which makes sense since it is a gui  
>>> toolkit so images are just supposed to be displayed.
>>>
>>> I am still looking for a more widespread library to accomplish  
>>> this. Other suggestions?
>>>
>>> I would also like to know which is the praxis for this kind of  
>>> situations. Who is the maintainer for the MacOS X and Windows  
>>> binary distributions of csound? Does he/she build them with  
>>> statically linked libs?
>>>
>>> I am willing to port these opcodes to any other available library  
>>> (it's really really easy since I just need to load and save  
>>> images to/from a RGBRGBRGB... array, and the code to load and  
>>> save is isolated in two functions at the beginning of the source)  
>>> but I can't test or build for other platforms other than gnu/Linux.
>>>
>>> -c.
>>>
>>> Andres Cabrera wrote:
>>>> Hi,
>>>>
>>>> The opcodes should compile for xo, but not the default install,  
>>>> as it
>>>> doesn't include FLTK AFAIK. I'm not sure if it includes the image
>>>> libraries you were using before, but if you want them to run  
>>>> easily on
>>>> the xo, using a small library rather than FLTK might be a good  
>>>> idea.
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>>
>>>> El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>>>>
>>>>> Of course.
>>>>>
>>>>> http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>>>>
>>>>> I've added the LGPL and a brief syntax description to the  
>>>>> source file. I will send the manual pages to Andreas in the  
>>>>> next 24-48 hours.
>>>>>
>>>>> By the way, could you please let me know if you'll succeed in  
>>>>> compiling and using these opcodes on the XO laptop? I am still  
>>>>> setting up a development and testing environment for it and I  
>>>>> don't know if I'll be ready before next Monday.
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> -c.
>>>>>
>>>>> Victor Lazzarini wrote:
>>>>>
>>>>>> Cesare,
>>>>>>
>>>>>> can I have your permission to add your
>>>>>> opcodes to Csound in CVS under the LGPL?
>>>>>>
>>>>>> If so, can you remind me of the link
>>>>>> again? And another favour: could you then
>>>>>> post the manual pages to Andres?
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>>>>> "unsubscribe csound"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>>> "unsubscribe csound"
>>>>
>>>>
>>>>
>>>
>>>
>>> -- 
>>> www.cesaremarilungo.com
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe csound"
>>
>> Victor Lazzarini
>> Music Technology Laboratory
>> Music Department
>> National University of Ireland, Maynooth
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
>
> -- 
> www.cesaremarilungo.com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2007-11-27 17:07
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Re: Re: image opcodes
sounds good to me.

Victor

At 16:53 27/11/2007, you wrote:
>To Victor and Michael,
>
>what if I rewrite the opcodes to use libpng?
>
>http://www.libpng.org/pub/png/libpng.html
>
>This is available (and would allow loading and saving ) on every supported 
>platform (and on the XO too).
>
>Of course this would limit the file format to PNG, but it would make sense 
>since PNG is an open format and it uses lossless compression (so you 
>always keep all the data).
>
>What do you think?
>
>- c.
>
>
>Victor Lazzarini wrote:
>>I am the OSX maintainer; Michael Gogins is the Windows maintainer.
>>Could you just clarify the dependencies? This will probably be crucial
>>for the XO.
>>
>>Victor
>>
>>At 00:51 23/11/2007, you wrote:
>>>I am using imlib for this reason. So they hopefully should.
>>>
>>>BTW, I have investigated a bit more on FTLK and it seems it lacks image 
>>>saving facility, which makes sense since it is a gui toolkit so images 
>>>are just supposed to be displayed.
>>>
>>>I am still looking for a more widespread library to accomplish this. 
>>>Other suggestions?
>>>
>>>I would also like to know which is the praxis for this kind of 
>>>situations. Who is the maintainer for the MacOS X and Windows binary 
>>>distributions of csound? Does he/she build them with statically linked libs?
>>>
>>>I am willing to port these opcodes to any other available library (it's 
>>>really really easy since I just need to load and save images to/from a 
>>>RGBRGBRGB... array, and the code to load and save is isolated in two 
>>>functions at the beginning of the source) but I can't test or build for 
>>>other platforms other than gnu/Linux.
>>>
>>>-c.
>>>
>>>Andres Cabrera wrote:
>>>>Hi,
>>>>
>>>>The opcodes should compile for xo, but not the default install, as it
>>>>doesn't include FLTK AFAIK. I'm not sure if it includes the image
>>>>libraries you were using before, but if you want them to run easily on
>>>>the xo, using a small library rather than FLTK might be a good idea.
>>>>
>>>>Cheers,
>>>>Andrés
>>>>
>>>>
>>>>El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>>>>
>>>>>Of course.
>>>>>
>>>>>http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>>>>
>>>>>I've added the LGPL and a brief syntax description to the source file. 
>>>>>I will send the manual pages to Andreas in the next 24-48 hours.
>>>>>
>>>>>By the way, could you please let me know if you'll succeed in 
>>>>>compiling and using these opcodes on the XO laptop? I am still setting 
>>>>>up a development and testing environment for it and I don't know if 
>>>>>I'll be ready before next Monday.
>>>>>
>>>>>Thanks in advance,
>>>>>
>>>>>-c.
>>>>>
>>>>>Victor Lazzarini wrote:
>>>>>
>>>>>>Cesare,
>>>>>>
>>>>>>can I have your permission to add your
>>>>>>opcodes to Csound in CVS under the LGPL?
>>>>>>
>>>>>>If so, can you remind me of the link
>>>>>>again? And another favour: could you then
>>>>>>post the manual pages to Andres?
>>>>>>
>>>>>>Victor
>>>>>>
>>>>>>
>>>>>>Send bugs reports to this list.
>>>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>>>"unsubscribe csound"
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>>Send bugs reports to this list.
>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>"unsubscribe csound"
>>>>
>>>>
>>>
>>>
>>>--
>>>www.cesaremarilungo.com
>>>
>>>
>>>Send bugs reports to this list.
>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>>csound"
>>
>>Victor Lazzarini
>>Music Technology Laboratory
>>Music Department
>>National University of Ireland, Maynooth
>>
>>
>>
>>Send bugs reports to this list.
>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>csound"
>
>
>--
>www.cesaremarilungo.com
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth



Date2007-11-27 20:04
FromAnthony Kozar
Subject[Csnd] Re: image opcodes
I like the idea of using libpng (and/or other common libraries like libjpeg)
since it works on ALL of Csound's supported platforms (including MacOS 9).
Imlib seems to have some other Linux dependencies and FLTK does not work on
OS 9.  SDL_image would also be OK but it just uses libpng and libjpeg
anyways.

Further, the license of Imlib seems to be GPL which means that a Csound
plugin using it would have to be GPL and any Csound system that such a
plugin is distributed with would have to be converted to GPL.  This is the
same reason we stopped distributing binaries of the Loris opcodes ...

Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://anthonykozar.net/

Cesare Marilungo wrote on 11/27/07 11:53 AM:

> To Victor and Michael,
> 
> what if I rewrite the opcodes to use libpng?
> 
> http://www.libpng.org/pub/png/libpng.html
> 
> This is available (and would allow loading and saving ) on every
> supported platform (and on the XO too).
> 
> Of course this would limit the file format to PNG, but it would make
> sense since PNG is an open format and it uses lossless compression (so
> you always keep all the data).
> 
> What do you think?


Date2007-11-27 22:39
FromCesare Marilungo
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: image opcodes
Here it is:

http://www.cesaremarilungo.com/download/csound/imageOpcodes20071127.tar.gz

-c.


Victor Lazzarini wrote:
> sounds good to me.
>
> Victor
>
> At 16:53 27/11/2007, you wrote:
>> To Victor and Michael,
>>
>> what if I rewrite the opcodes to use libpng?
>>
>> http://www.libpng.org/pub/png/libpng.html
>>
>> This is available (and would allow loading and saving ) on every 
>> supported platform (and on the XO too).
>>
>> Of course this would limit the file format to PNG, but it would make 
>> sense since PNG is an open format and it uses lossless compression 
>> (so you always keep all the data).
>>
>> What do you think?
>>
>> - c.
>>
>>
>> Victor Lazzarini wrote:
>>> I am the OSX maintainer; Michael Gogins is the Windows maintainer.
>>> Could you just clarify the dependencies? This will probably be crucial
>>> for the XO.
>>>
>>> Victor
>>>
>>> At 00:51 23/11/2007, you wrote:
>>>> I am using imlib for this reason. So they hopefully should.
>>>>
>>>> BTW, I have investigated a bit more on FTLK and it seems it lacks 
>>>> image saving facility, which makes sense since it is a gui toolkit 
>>>> so images are just supposed to be displayed.
>>>>
>>>> I am still looking for a more widespread library to accomplish 
>>>> this. Other suggestions?
>>>>
>>>> I would also like to know which is the praxis for this kind of 
>>>> situations. Who is the maintainer for the MacOS X and Windows 
>>>> binary distributions of csound? Does he/she build them with 
>>>> statically linked libs?
>>>>
>>>> I am willing to port these opcodes to any other available library 
>>>> (it's really really easy since I just need to load and save images 
>>>> to/from a RGBRGBRGB... array, and the code to load and save is 
>>>> isolated in two functions at the beginning of the source) but I 
>>>> can't test or build for other platforms other than gnu/Linux.
>>>>
>>>> -c.
>>>>
>>>> Andres Cabrera wrote:
>>>>> Hi,
>>>>>
>>>>> The opcodes should compile for xo, but not the default install, as it
>>>>> doesn't include FLTK AFAIK. I'm not sure if it includes the image
>>>>> libraries you were using before, but if you want them to run 
>>>>> easily on
>>>>> the xo, using a small library rather than FLTK might be a good idea.
>>>>>
>>>>> Cheers,
>>>>> Andrés
>>>>>
>>>>>
>>>>> El vie, 23-11-2007 a las 00:25 +0100, Cesare Marilungo escribió:
>>>>>
>>>>>> Of course.
>>>>>>
>>>>>> http://www.cesaremarilungo.com/download/csound/imageOpcodes.tar.gz
>>>>>>
>>>>>> I've added the LGPL and a brief syntax description to the source 
>>>>>> file. I will send the manual pages to Andreas in the next 24-48 
>>>>>> hours.
>>>>>>
>>>>>> By the way, could you please let me know if you'll succeed in 
>>>>>> compiling and using these opcodes on the XO laptop? I am still 
>>>>>> setting up a development and testing environment for it and I 
>>>>>> don't know if I'll be ready before next Monday.
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> -c.
>>>>>>
>>>>>> Victor Lazzarini wrote:
>>>>>>
>>>>>>> Cesare,
>>>>>>>
>>>>>>> can I have your permission to add your
>>>>>>> opcodes to Csound in CVS under the LGPL?
>>>>>>>
>>>>>>> If so, can you remind me of the link
>>>>>>> again? And another favour: could you then
>>>>>>> post the manual pages to Andres?
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to this list.
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>>>> "unsubscribe csound"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> -- 
>>>> www.cesaremarilungo.com
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe csound"
>>>
>>> Victor Lazzarini
>>> Music Technology Laboratory
>>> Music Department
>>> National University of Ireland, Maynooth
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>> "unsubscribe csound"
>>
>>
>> -- 
>> www.cesaremarilungo.com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>> "unsubscribe csound"
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
> "unsubscribe csound"
>


-- 
www.cesaremarilungo.com