Re: Image to SVG conversion with Python

2009-11-16 Thread Carlo DiCelico
On Nov 16, 11:48 am, Dave Angel wrote: > Carlo DiCelico wrote: > > I need to convert JPEG and PNG files to SVG. I'm currently using PIL > > to generate the JPEG/PNG files to begin with. However, I need to be > > able to scale the generated images up in size without a

Image to SVG conversion with Python

2009-11-16 Thread Carlo DiCelico
I need to convert JPEG and PNG files to SVG. I'm currently using PIL to generate the JPEG/PNG files to begin with. However, I need to be able to scale the generated images up in size without a loss of image quality. Using SVG seems to be the best way to do this, other than generating the images in

Re: Simple Python struct issue

2009-10-02 Thread Carlo DiCelico
On Oct 2, 12:49 pm, MRAB wrote: > Carlo DiCelico wrote: > > I saw an article on O'Reilly about using NumPy and Dislin to analyze > > and visualize WAV files. It's a really fantastic article but was a > > little out of date. I updated the script to work with the newe

Re: Simple Python struct issue

2009-10-02 Thread Carlo DiCelico
On Oct 2, 3:17 pm, Simon Forman wrote: > On Fri, Oct 2, 2009 at 12:35 PM, Carlo DiCelico > > > > > > wrote: > > On Oct 2, 12:15 pm, Simon Forman wrote: > >> On Fri, Oct 2, 2009 at 12:07 PM, Carlo DiCelico > >> wrote: > >> > I saw an ar

Re: Simple Python struct issue

2009-10-02 Thread Carlo DiCelico
On Oct 2, 12:15 pm, Simon Forman wrote: > On Fri, Oct 2, 2009 at 12:07 PM, Carlo DiCelico > > > > > > wrote: > > I saw an article on O'Reilly about using NumPy and Dislin to analyze > > and visualize WAV files. It's a really fantastic article but

Simple Python struct issue

2009-10-02 Thread Carlo DiCelico
I saw an article on O'Reilly about using NumPy and Dislin to analyze and visualize WAV files. It's a really fantastic article but was a little out of date. I updated the script to work with the newer modules &etc but am still having trouble getting it working. The line temp[i,:] = array(struct.un