ANN: PIL 1.2 pre-alpha (January 8, 2011)

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

ANN: PIL 1.2 pre-alpha (January 8, 2011)

Fredrik Lundh
A pre-alpha snapshot of the upcoming PIL 1.2 release is now available from:

  http://hg.effbot.org/pil-2009-raclette/downloads/PIL-1.2a0-20110108.tar.gz

or via Mercurial, from https://bitbucket.org/effbot/pil-2009-raclette

I've decided to abandon the planned 1.1.8 release, including the rough
and still unreleased 3.X port of 1.1.7+. Instead, the new plan is to
provide a single code base for both Python 2.X and 3.X, and most of
the changes in 1.2 will affect internal architecture and packaging
only (I do have some very interesting contributions that are pending
integration, though).  Support for very old versions have been
dropped, and so has the support for importing from the standard
namespace; PIL now lives in the PIL namespace only.  Some
long-deprecated methods have also been removed, but everything else
should work as usual.

The source kit has been built and tested with Python 2.3, 2.4, 2.5,
2.6, and 2.7.  It also builds under Python 3.1 and 3.2 beta, even if
the functionality is currently *very* limited under Python 3.X.

</F>

$ tar xvfz PIL-1.2a0-20110108.tar.gz
...
$ cd PIL-1.2a0/
$ python3 setup.py install --prefix .
...
$ cd lib/python3.1/site-packages/
$ python3
Python 3.1.2 (r312:79147, Apr 15 2010, 15:35:48)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>> im = Image.open("../../../Images/lena.png")
>>> im
<PIL.PngImagePlugin.PngImageFile image mode=RGB size=128x128 at 0xE6B1D0>
>>> im.load() # only works under 2.X in this release
_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig
Reply | Threaded
Open this post in threaded view
|

Re: ANN: PIL 1.2 pre-alpha (January 8, 2011)

Nicolas Pinault-2
Hello,

That's good news.

In CHANGES.txt file, one can read :
+ Added support for reading 16-bit RGB TIFF files.

Does PIL 1.2 internally manages 16bit per pixel or does it still uses
8bit per pixel ?

Best regards
Nicolas


Le 08/01/2011 02:41, Fredrik Lundh a écrit :

> A pre-alpha snapshot of the upcoming PIL 1.2 release is now available from:
>
>    http://hg.effbot.org/pil-2009-raclette/downloads/PIL-1.2a0-20110108.tar.gz
>
> or via Mercurial, from https://bitbucket.org/effbot/pil-2009-raclette
>
> I've decided to abandon the planned 1.1.8 release, including the rough
> and still unreleased 3.X port of 1.1.7+. Instead, the new plan is to
> provide a single code base for both Python 2.X and 3.X, and most of
> the changes in 1.2 will affect internal architecture and packaging
> only (I do have some very interesting contributions that are pending
> integration, though).  Support for very old versions have been
> dropped, and so has the support for importing from the standard
> namespace; PIL now lives in the PIL namespace only.  Some
> long-deprecated methods have also been removed, but everything else
> should work as usual.
>
> The source kit has been built and tested with Python 2.3, 2.4, 2.5,
> 2.6, and 2.7.  It also builds under Python 3.1 and 3.2 beta, even if
> the functionality is currently *very* limited under Python 3.X.
>
> </F>
>
> $ tar xvfz PIL-1.2a0-20110108.tar.gz
> ...
> $ cd PIL-1.2a0/
> $ python3 setup.py install --prefix .
> ...
> $ cd lib/python3.1/site-packages/
> $ python3
> Python 3.1.2 (r312:79147, Apr 15 2010, 15:35:48)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from PIL import Image
>>>> im = Image.open("../../../Images/lena.png")
>>>> im
> <PIL.PngImagePlugin.PngImageFile image mode=RGB size=128x128 at 0xE6B1D0>
>>>> im.load() # only works under 2.X in this release
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: ANN: PIL 1.2 pre-alpha (January 8, 2011)

Glenn Linderman-3
In reply to this post by Fredrik Lundh
On 1/7/2011 5:41 PM, Fredrik Lundh wrote:
It also builds under Python 3.1 and 3.2 beta, even if
the functionality is currently *very* limited under Python 3.X.

Is there any doc that describes what does or doesn't work under 3.X? 

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

Re: ANN: PIL 1.2 pre-alpha (January 8, 2011)

Fredrik Lundh
2011/1/9 Glenn Linderman <[hidden email]>:
> On 1/7/2011 5:41 PM, Fredrik Lundh wrote:
>
> It also builds under Python 3.1 and 3.2 beta, even if
> the functionality is currently *very* limited under Python 3.X.
>
> Is there any doc that describes what does or doesn't work under 3.X?

Beyond that transcript, not much works.  Not enough to motivate
putting together a document about it, at least :)  But we're working
on it.

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