Re: Trying to get FreeImagePy to work.

2006-06-05 Thread Michele Petrazzo
Fredrik Lundh wrote: >> So you *need* to invert it to work correctly with PIL! > > PIL has no problem reading "min-is-white" TIFF images. > > it would be nice if you stopped posting bogus "support" information > for other libraries. Sorry if my posts make to seem that other libraries has probl

Re: Trying to get FreeImagePy to work.

2006-06-05 Thread Fredrik Lundh
Michele Petrazzo wrote: > Yes it's min-is-white:: > > michele:~$ tiffinfo example.tif > TIFFReadDirectory: Warning, example.tif: unknown field with tag 37680 > (0x9330) encountered. > TIFF Directory at offset 0x1520 (5408) >Subfile Type: (0 = 0x0) >Image Width: 1696 Image Length: 1162 >

Re: Trying to get FreeImagePy to work.

2006-06-05 Thread Iain King
Michele Petrazzo wrote: > Iain King wrote: > >> I'll try out FIPY's resizing tomorrow too. OTOH, I have functions > >> to convert between PIL and wxPython, and functions to convert > >> betweem PIL and FIPY, but I don't see a function to convert FIPY to > >> wxPython? > >> > > > > Image at: http

Re: Trying to get FreeImagePy to work.

2006-06-03 Thread Michele Petrazzo
Iain King wrote: >> I'll try out FIPY's resizing tomorrow too. OTOH, I have functions >> to convert between PIL and wxPython, and functions to convert >> betweem PIL and FIPY, but I don't see a function to convert FIPY to >> wxPython? >> > > Image at: http://www.snakebomb.com/misc/example.tif >

Re: Trying to get FreeImagePy to work.

2006-06-02 Thread Iain King
Iain King wrote: > Michele Petrazzo wrote: > > Iain King wrote: > > > However, when I'm do the > > > fipy.convertToPil(), it inverts the image? > > > > No, it not invert the image... It only return the image as is. > > > > > I've inserted a > > > fipy.invert() before the conversion as a temporary

Re: Trying to get FreeImagePy to work.

2006-06-01 Thread Iain King
Michele Petrazzo wrote: > Iain King wrote: > > However, when I'm do the > > fipy.convertToPil(), it inverts the image? > > No, it not invert the image... It only return the image as is. > > > I've inserted a > > fipy.invert() before the conversion as a temporary fix, but is there a > > reason for

Re: Trying to get FreeImagePy to work.

2006-06-01 Thread Michele Petrazzo
Iain King wrote: >> Can you download the last svn version from sf.net? Otherwise I'll send >> you the last sources privately. >> >> Bye, >> Michele > > I got the TortoiseSVN client though, and > checked out your newest build, copied it over the top of > site-packages/freeimagepy, updated my ctype

Re: Trying to get FreeImagePy to work.

2006-06-01 Thread Iain King
Michele Petrazzo wrote: > Iain King wrote: > > Michele Petrazzo wrote: > >> Iain King wrote: > >>> Michele Petrazzo wrote: > >>> > >>> I downloaded and installed 0.9.9.3, and it now works. Thanks! > >>> > >> I advice you to don't use that ctypes version... Better is to use > >> the newest one and

Re: Trying to get FreeImagePy to work.

2006-06-01 Thread Michele Petrazzo
Iain King wrote: > Michele Petrazzo wrote: >> Iain King wrote: >>> Michele Petrazzo wrote: >>> >>> I downloaded and installed 0.9.9.3, and it now works. Thanks! >>> >> I advice you to don't use that ctypes version... Better is to use >> the newest one and update freeimagepy! >> >>> Iain >>> >

Re: Trying to get FreeImagePy to work.

2006-06-01 Thread Iain King
Michele Petrazzo wrote: > Iain King wrote: > > Michele Petrazzo wrote: > > > > I downloaded and installed 0.9.9.3, and it now works. Thanks! > > > > I advice you to don't use that ctypes version... Better is to use the > newest one and update freeimagepy! > > > Iain > > > > Michele OK, Ive insta

Re: Trying to get FreeImagePy to work.

2006-05-26 Thread Michele Petrazzo
Iain King wrote: > Michele Petrazzo wrote: > > I downloaded and installed 0.9.9.3, and it now works. Thanks! > I advice you to don't use that ctypes version... Better is to use the newest one and update freeimagepy! > Iain > Michele -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to get FreeImagePy to work.

2006-05-26 Thread Iain King
Michele Petrazzo wrote: > Iain King wrote: > > I've installed ctypes and FreeImagePy. When I do this: > > > import FreeImagePy f = FreeImagePy.Image() > > > > I put a 'print self._name' in the ctypes __init__ file, just before > > line 296 - it's printing out the 'find' just before the error

Re: Trying to get FreeImagePy to work.

2006-05-26 Thread Michele Petrazzo
Iain King wrote: > I've installed ctypes and FreeImagePy. When I do this: > import FreeImagePy f = FreeImagePy.Image() > > I put a 'print self._name' in the ctypes __init__ file, just before > line 296 - it's printing out the 'find' just before the error. So, in > what specific way have I

Trying to get FreeImagePy to work.

2006-05-26 Thread Iain King
I've installed ctypes and FreeImagePy. When I do this: >>> import FreeImagePy >>> f = FreeImagePy.Image() I get: find Traceback (most recent call last): File "", line 1, in ? File "C:\Python\Lib\site-packages\FreeImagePy\FreeImagePy.py", line 1952, in _ _init__ super(Image, self).__init_