[Image-SIG] ImportError at /admin/photo_manager/invisibleindividual/1/ The _imaging C module is not installed

2012-10-30 Thread Sanjiv Jhangiani
I realize that there is info out there on this (e.g., in StackOverflow), but one person says place it in the dll file, another something else ... I am using Python 2.7 in Windows Vista - do I need to add/remove something to get this module loaded? - Sanjiv

[Image-SIG] PNG patch for reading zTXt chunks

2012-10-30 Thread Hannes Nötzli
Hi I have found your article PNG patch for reading zTXt chunks I have a zTXtComment that I cannot read. Perhaps you can help me (It might be french): 7A 54 58 74 43 6F 6D 6D 65 6E 74 00 00 78 DA AB 53 30 B3 34 33 B5 30 B6 B0 B4 30 B6 30 31 B3 34 37 34 33 35 B7 30 B7 54 A8 03 00 4F E9 05 EB

[Image-SIG] PIL Installation Issue: 2.6

2012-10-30 Thread Westwood, Reid T
Hi, I am having trouble installing PIL 1.1.7 for Python 2.6 for Windows 7. I get the error message: Installation requires Python 2.6, which was not found in the registry I used the script found herehttp://effbot.org/zone/python-register.htm, and added some print statements. The script runs

[Image-SIG] bug report: PIL install does not find libjpeg...

2012-10-30 Thread Félix Sipma
Hi! pip install PIL fails in finding libjpeg, zlib, ... resulting in multiple *** LIBNAME support not available. The reason is that PIL setup.py does not look for libs into /usr/lib/x86_64-linux-gnu, where libjpeg, zlib and other are located. The provided patch solves the issue. I am using

[Image-SIG] IOError: encoder error -2 when writing image file

2012-10-30 Thread Lipeng Wan
Hi guys, When I try to save the image, I always get this error: img.save(jpeg,'JPEG') File D:\Program Files\Python27\lib\site-packages\PIL\Image.py, line 1439, in save save_handler(self, fp, filename) File D:\Program Files\Python27\lib\site-packages\PIL\JpegImagePlugin.py, line 471,

[Image-SIG] Reg:Image Transfer

2012-10-30 Thread Robert, J [ SGGI - IT ]
Dear friends, I am using Python 2.7.3. I like to transfer a image file via python to RabbitMQ so I configured image lib in my system. I am using the below program for the image transfer channel.exchange_declare(exchange='testing_room1',type='direct',durable= True,)

Re: [Image-SIG] Adding Python 3 support

2012-10-30 Thread Alex Clark
On 2012-10-09 20:26:37 +, Brian Crowell said: On Tue, Oct 9, 2012 at 3:11 PM, Mark Sienkiewicz sienk...@stsci.edu wrote: From what I read of Pillow, they aren't really interested in maintaining a copy of PIL. Do you mean to fork Pillow, or try to persuade them to let you help maintain it?

Re: [Image-SIG] Adding Python 3 support

2012-10-30 Thread Alex Clark
On 2012-10-10 19:31:35 +, Mark Sienkiewicz said: On 10/10/12 15:07, Alex Clark wrote: - Pillow started as a packaging fork, but I now consider image code fixes if they are tracked upstream (by ticket or commit). Does that mean you are looking for a ticket filed against the old PIL

[Image-SIG] help: how to add words on a image

2012-10-30 Thread feng liao
Hi there: I have a need to add words to a image, just a watermark considering the image maybe black or white, so it's not good to to define the font color of the watermark, what i want is to add a shadow to the words, set the background of the font to white and the shadow to black. I explore

[Image-SIG] [BUG - minor][1.1.7] ImageDraw.Draw.rectangle - box argument

2012-10-30 Thread Nicolas DAVID
*ImageDraw.Draw.rectangle : - v1.1.7* It is stated in the docs that the second coordinates pair of the box argument defines a point just *outside* the rectangle, but defines in fact a point located *inside* the rectangle *ex :* im = Image.new('1', (10,10), 0) draw = ImageDraw.Draw(im) #

[Image-SIG] PIL for python 3.X?

2012-10-30 Thread Steven Buroff
Is there a version of PIL that will run with python 3.3? If not, are there plans to support 3.3 and, if so, is there any release schedule? Thanks very much. Steve Buroff attachment: image001.gif ___ Image-SIG maillist - Image-SIG@python.org

[Image-SIG] Problems converting hierarchical (pyramidal) TIFF images

2012-10-30 Thread feroze dawood
I am doing some image processing on images. I use PIL to resize the images. The image in question is a multilayered TIFF image. When I run it through my code, all I get is an image with a green background and no detail. It is as if the image is being corrupted, or not being read correctly by PIL.

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-30 Thread Mikhail Korobov
Hello Brian et al, Thanks for your work! There are some issues with Python3 fork (I don't know if they apply to main Pillow though): 1) Test running doesn't work for me. python Tests/run.py fails with many obscure errors: running test_numpy ... === error 256 Traceback (most recent call

[Image-SIG] Changing output resolution when converting EPS file to PNG in Python Imaging Library

2012-10-30 Thread Brandon George
I wrote a simple implementation of PIL to convert a list of EPS files to PNG images. The problem is the PNG image is of pretty low quality. When I save the image using im.save(file.png, dpi = (1000, 1000)) the increased DPI does not result in a higher quality image. I believe this is due to the im

Re: [Image-SIG] PIL: Unexpected results with Image.paste on RGBA images with transparency.

2012-10-30 Thread Alex Clark
Hi Lars, On Mon, Oct 29, 2012 at 4:05 PM, Lars Ruoff lars.ru...@gmail.com wrote: Any other comments? Alex, Pillow says: Please report any non-packaging related issues here first: - https://bitbucket.org/effbot/pil-2009-raclette/issues Should i report the issue there? Yes please.

[Image-SIG] Problems converting multi-layered TIFF images

2012-10-30 Thread feroze dawood
I am doing some image processing on images. I use PIL to resize the images. The image in question is a multilayered TIFF image. When I run it through my code, all I get is an image with a green background and no detail. It is as if the image is being corrupted, or not being read correctly by PIL.

[Image-SIG] Unable to read multilayered TIFF images using PIL 1.1.7

2012-10-30 Thread feroze dawood
I am doing some image processing on images. I use PIL to resize the images. The image in question is a multilayered TIFF image. When I run it through my code, all I get is an image with a green background and no detail. It is as if the image is being corrupted, or not being read correctly by PIL.

Re: [Image-SIG] PIL: Unexpected results with Image.paste on RGBA images with transparency.

2012-10-30 Thread Lars Ruoff
Any other comments? Alex, Pillow says: Please report any non-packaging related issues here first: - https://bitbucket.org/effbot/pil-2009-raclette/issues Should i report the issue there? Lars On Mon, Oct 29, 2012 at 4:33 PM, Alex Clark acl...@aclark.net wrote: On 2012-10-29 15:05:28

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-30 Thread Brian Crowell
On Mon, Oct 29, 2012 at 2:11 PM, Mikhail Korobov kmik...@gmail.com wrote: 1) Test running doesn't work for me. python Tests/run.py ... ImportError: No module named __future__ It would be an awfully odd version of Python that didn't recognize a __future__ import. What version of Python is

Re: [Image-SIG] PIL for python 3.X?

2012-10-30 Thread Brian Crowell
On Sun, Oct 21, 2012 at 1:28 PM, Steven Buroff sbur...@optonline.net wrote: Is there a version of PIL that will run with python 3.3? If not, are there plans to support 3.3 and, if so, is there any release schedule? Thanks very much. We're working on creating a version that works with Python