Re: [Image-SIG] doubles?

2006-08-30 Thread Chris Barker
Ghalib Suleiman wrote: > I want to convert my image to doubles, such that each entry in the > R,G,B tuple is a double lying in the range [0,1] (this will be then > passed onto NumPy for some arithmetic). why not pass the data to numpy, then convert -- that will be a lot easier. -Chris --

[Image-SIG] doubles?

2006-08-30 Thread Ghalib Suleiman
I want to convert my image to doubles, such that each entry in the R,G,B tuple is a double lying in the range [0,1] (this will be then passed onto NumPy for some arithmetic). Is this possible? Thanks in advance. ___ Image-SIG maillist - Image-SIG@p

Re: [Image-SIG] python app using PIL - GPL question

2006-08-30 Thread Donn
> PIL uses the old-style Python license, which is considered to be GPL > compatible by the FSF (look for "License of Python 1.6a2 and earlier > versions" in their list), so mixing things shuold be perfectly okay. Thanks for the info. That's good news. > If you build stuff on top of PIL that would

Re: [Image-SIG] python app using PIL - GPL question

2006-08-30 Thread Fredrik Lundh
"Donn" wrote: > I am writing an app in Python + wxPython and it also uses PIL. > I want to licence it as Gnu GPL, but have never done this kind of thing > before. Is it alright to use PIL and use GPL as the licence in my code? PIL uses the old-style Python license, which is considered to be GPL c

[Image-SIG] python app using PIL - GPL question

2006-08-30 Thread Donn
Hello list, I am writing an app in Python + wxPython and it also uses PIL. I want to licence it as Gnu GPL, but have never done this kind of thing before. Is it alright to use PIL and use GPL as the licence in my code? Thanks, Donn. ___ Image-SIG mailli

Re: [Image-SIG] save() question/bug

2006-08-30 Thread Fredrik Lundh
"izak marais" wrote: > Also it cannot be a fault with the conversion from array process since calling > show() om the image displays it perfectly. The problem only occurs when > saving. > I've tried saving to different formats, this just changes the "skewness" of > the > image and the position o

[Image-SIG] save() question/bug

2006-08-30 Thread izak marais
Hi allWhen I try to save an image (that has been converted from a numpy array using scipy.misc.toimage(array) ) the line width seems to be mixed up. Images come out slightly skewed with a black line which sould be the end of the image shifted into the image itself. I installed 1.1.6b1 since there i