[PIL] Bug with split()

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PIL] Bug with split()

Florent Angebault-2
Hello.

There is a long-standing bug in the latest version of PIL and it seems
to be easy to patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561965

Is there any chance that it will be fixed some day?
Is the PIL project still alive?

--
Florent Angebault
Développeur d'applications - service multimédia
Ligne interne : 90 18
-----------------------------------------------
E-T-A-I
Antony Parc 2
10, place du Général de Gaulle
92 160 Antony
Accueil : 01 77 92 92 92

_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig
Reply | Threaded
Open this post in threaded view
|

Re: [PIL] Bug with split()

Edward Cannon
I have investigated this bug on my system, Win7 64bit, Python 2.6.4 with PIL 1.1.6 and get the following results:
1) The .im attribute is None, but it is not defined in the public interface, so that is not a bug. (try help(Image) or looking at http://www.pythonware.com/library/pil/handbook/image.htm, it is not listed either place).
2) The .split method works just fine for me, returning no error. If I save out the images it returns they look like what I would expect, one is the grayscale image and the other is a mask.
I don't have access to a Debian system but my guess is that the issue is solved in 1.1.6, if it is not, then the error is platform specific. I don't know what version of PIL Debian currently uses, you may need to install a newer version manually. And yes, the PIL project is still alive.
Edward Cannon
Unicorn School

On Fri, Jun 24, 2011 at 2:12 AM, Florent Angebault <[hidden email]> wrote:
Hello.

There is a long-standing bug in the latest version of PIL and it seems to be easy to patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561965

Is there any chance that it will be fixed some day?
Is the PIL project still alive?

--
Florent Angebault
Développeur d'applications - service multimédia
Ligne interne : 90 18
-----------------------------------------------
E-T-A-I
Antony Parc 2
10, place du Général de Gaulle
92 160 Antony
Accueil : 01 77 92 92 92

_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig


_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig