Csound Csound-dev Csound-tekno Search About

[Csnd] png

Date2011-12-29 15:36
Frommenno
Subject[Csnd] png
Hi all,

does anybody happen to know how this .png diagram 
http://csound.1045644.n5.nabble.com/file/n5107896/gen03.png 
is created, for example on this manual page:
file://localhost/media/ManualUSB/manual/html/GEN03.html
What (open source) program could produce such a lovely image?

thanks,
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/png-tp5107896p5107896.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-29 15:47
FromAndres Cabrera
SubjectRe: [Csnd] png
Hi Menno,

You can use many tools. One is pylab (using matplotlib), or you can
use gnuplot, or probably even one of the graphing calculators.

Cheers,
Andrés

On Thu, Dec 29, 2011 at 3:36 PM, menno  wrote:
> Hi all,
>
> does anybody happen to know how this .png diagram
> http://csound.1045644.n5.nabble.com/file/n5107896/gen03.png
> is created, for example on this manual page:
> file://localhost/media/ManualUSB/manual/html/GEN03.html
> What (open source) program could produce such a lovely image?
>
> thanks,
> Menno
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/png-tp5107896p5107896.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-12-29 15:59
FromTito Latini
SubjectRe: [Csnd] png
AttachmentsNone  

Date2011-12-29 18:19
Frommenno
Subject[Csnd] Re: png
Andrés, Tito, thanks for your answers.

I have looked at the programs you mention, Andrés and they sure do look
great and capable of doing the job. But i'm afraid it would lead me to yet
another side project --> half year of time :)
I also followed the lead of Tito; running csound -G gen03.csd produced a eps
file, which i can view in Evince. Pretty cool, but with text and other
carbage. 
Converting this eps to png with ImageMagick (or GIMP) resulted in a
mutilated picture where the right part of the picture was cut off ?! Could
not fix it.
So what i do: i take a screenshot of the picture produced (eps, viewed with
Evince) and can crop and resize it from there on. It is some work but it can
be done. I think this is the way to go...

thanks again,
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/png-tp5107896p5108308.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-12-30 16:02
FromTito Latini
SubjectRe: [Csnd] Re: png
AttachmentsNone  

Date2011-12-30 16:44
Frommenno
SubjectRe: [Csnd] Re: png
Well, Tito....
i'm impressed! This will save me the rest of my life!
Thank you very much.

i found "convert" already as part of ImageMagick but got crippled png output. But your little program cuts it to the bones!
(did i already say: thank you?)

bye,
Menno

-------------My music-----------------
http://www.jamendo.com/de/album/6789/
http://www.jamendo.com/en/album/7428/
-------------My work-----------------
http://members.home.nl/mag.knevel/


--- On Fri, 12/30/11, Tito Latini  wrote:

> From: Tito Latini 
> Subject: Re: [Csnd] Re: png
> To: csound@lists.bath.ac.uk
> Date: Friday, December 30, 2011, 5:02 PM
> > So what i do: i take a
> screenshot of the picture produced (eps, viewed with
> > Evince) and can crop and resize it from there on. It
> is some work but it can
> > be done. I think this is the way to go...
> 
> With this script you win another half year :))
> 
> run
> 
>   cs_eps2png test.eps
> 
> and you get
> 
>   test-0.png
>   test-1.png
>   ...
> 
> #!/bin/bash
> # cs_eps2png
> # convert csound eps file to png files
> 
> [ $# -lt 1 ] && echo "Usage: $0 EPSFILE" &&
> exit 1
> [ ! -f "$1" ] && echo "$1: No such file" &&
> exit 2
> IMGFILE="${1%%.*}.png"
> convert -page 1000x680 -crop 470x420+90+140 "$1" -trim
> "$IMGFILE"
> exit
> 
> 
> tito
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk
> with body "unsubscribe csound"
> 
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"