Re: [Image-SIG] Help Opening an Image File

2006-05-04 Thread Fredrik Lundh
Angela Traficante wrote: > Quick question: I tried using the Library to open an Image, but the > interpretor can't find the image file. I also can't find in the > documentation where "import Image" is supposed to get the file from. Does > anyone know where I should put the file so that the Libr

Re: [Image-SIG] Join two images

2006-05-04 Thread Fredrik Lundh
Ronan Lucio wrote: > I´d like to join two images. > Actually, I need to put a logomark (145 x 70) in front of an image (640 x > 480). The logo should be placed in the left top of the image. > > Could anybody help me how to do it with PIL? > > Another question: Is it possible to do it as a watermar

Re: [Image-SIG] Displaying Images and getting input from Mouse

2006-05-04 Thread Christopher Barker
Wynand Singels wrote: > The other option I was looking at was using wxPython - a staticbitmap with > EVT_LEFT_DOWN or something like that. But I'm struggling to get this to > work. This should be quite easy in wxPython. Make sure to post to the wxPython-users list, we're a helpful bunch over ther

[Image-SIG] Reading GRIB files

2006-05-04 Thread Johnston Sheldon
Hi,   I am interested in reading GRIB files and extracting the fields within. I have the Python2.3 package and I don’t think that GRIB is supported. But from what I can understand, the GRIB file will only be indetified by the OIL module and not actually read. Is this true?   Thanks

[Image-SIG] Writing a Custom PIL ImageFilter

2006-05-04 Thread Calvin Spealman
I was looking into PIL ImageFilters, but I am unable to find any substansial information about writing new filters for use with PIL.ImageFilter. At this point, I'm still not sure that it is possible or not, because I haven't found a single shred of information about doing so, or spoken with anyone

[Image-SIG] Join two images

2006-05-04 Thread Ronan Lucio
Hi All, I´d like to join two images. Actually, I need to put a logomark (145 x 70) in front of an image (640 x 480). The logo should be placed in the left top of the image. Could anybody help me how to do it with PIL? Another question: Is it possible to do it as a watermark? Thank you, Ronan

[Image-SIG] Help Opening an Image File

2006-05-04 Thread Angela Traficante
Quick question:  I tried using the Library to open an Image, but the interpretor can't find the image file.  I also can't find in the documentation where "import Image" is supposed to get the file from.  Does anyone know where I should put the file so that the Library/Interpretor can find it?  I'm

Re: [Image-SIG] Displaying Images and getting input from Mouse

2006-05-04 Thread Alex Tweedly
Wynand Singels wrote: >Hi there everyone > >I'm trying to figure out the best (and fastest way) to display a JPEG image >and then input several (x,y) coordinate pairs from mouse clicks on the >image. > > >The other option I was looking at was using wxPython - a staticbitmap with >EVT_LEFT_DOWN o

[Image-SIG] Displaying Images and getting input from Mouse

2006-05-04 Thread Wynand Singels
Hi there everyone I'm trying to figure out the best (and fastest way) to display a JPEG image and then input several (x,y) coordinate pairs from mouse clicks on the image. I figured out how to do this in pylab using matplotlib as follows: img = 256 - S.misc.pilutil.imread('pic1.jpg')