Re: Any timeline for PIL for Python 3.4

2020-08-10 Thread Chris Angelico
On Tue, Aug 11, 2020 at 2:41 PM Martin wrote: > > Hi, > > I am running Python 3.4.4, and would like to > use the Python Imaging Library (PIL). This > is currently not available for Python > Version 3. Does anybody know when it will > become available? > > Plan B i

Re: Any timeline for PIL for Python 3.4

2020-08-10 Thread jfong
dn於 2020年8月11日星期二 UTC+8下午1時29分47秒寫道: > On 11/08/2020 16:35, Martin wrote: > > I am running Python 3.4.4, and would like to > > use the Python Imaging Library (PIL).  This > > is currently not available for Python > > Version 3.  Does anybody know when it will > >

Re: Any timeline for PIL for Python 3.4

2020-08-10 Thread dn via Python-list
On 11/08/2020 16:35, Martin wrote: I am running Python 3.4.4, and would like to use the Python Imaging Library (PIL).  This is currently not available for Python Version 3.  Does anybody know when it will become available? Plan B is to install Python 2.7.18.  I just need an idea of how long I

Re: Any timeline for PIL for Python 3.4

2020-08-10 Thread Mike Dewhirst
On 11/08/2020 2:35 pm, Martin wrote: > Hi, > > I am running Python 3.4.4, and would like to > use the Python Imaging Library (PIL).  This > is currently not available for Python > Version 3.  Does anybody know when it will > become available? Try Pillow https://pillow.rea

Any timeline for PIL for Python 3.4

2020-08-10 Thread Martin
Hi, I am running Python 3.4.4, and would like to use the Python Imaging Library (PIL). This is currently not available for Python Version 3. Does anybody know when it will become available? Plan B is to install Python 2.7.18. I just need an idea of how long I would need to wait for Plan A

Re: Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-31 Thread Paul St George
That's what I wanted! But, I didn't know the question because I didn't know the answer. On 30/05/2018 23:09, Karsten Hilbert wrote: On Wed, May 30, 2018 at 11:01:17PM +0200, Peter J. Holzer wrote: On 2018-05-30 22:08:45 +0200, Paul St George wrote: Ha! No, my question was clumsy. If I know

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Chris Angelico
On Thu, May 31, 2018 at 9:34 AM, Cameron Simpson wrote: > On 30May2018 21:29, MRAB wrote: >> >> On 2018-05-30 21:01, Paul St George wrote: >>> >>> Is this equivalent? >>> p = subprocess.Popen('display', + imagepath) >>> >> p = subprocess.Popen(['display', imagepath]) >> >>> so >>> >>> p = subpr

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Cameron Simpson
On 30May2018 21:29, MRAB wrote: On 2018-05-30 21:01, Paul St George wrote: Is this equivalent? p = subprocess.Popen('display',  + imagepath) p = subprocess.Popen(['display', imagepath]) so p = subprocess.Popen('display',  'test.png') p = subprocess.Popen(['display', 'test.png']) Remem

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Karsten Hilbert
On Wed, May 30, 2018 at 11:01:17PM +0200, Peter J. Holzer wrote: > On 2018-05-30 22:08:45 +0200, Paul St George wrote: > > Ha! No, my question was clumsy. > > > > If I know the name of the viewer that I want to use (say for example: > > ‘ImageMagick’), where do I find the argument that should be

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Peter J. Holzer
gick isn't a viewer, it is a collection of programs for manipulating images. The viewer included in the ImageMagick package is simply called 'display' (and it is already the default viewer in PIL, so you don't have to do anything to use it). hp

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread MRAB
method is intended for debugging purposes and is useful for that, but what method should I be using and is PIL the best imaging library for my purposes? I do not want to manipulate images, I only want to show images (full screen) on an external display. I want to use Python to control the timing of t

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Paul St George
Ha! No, my question was clumsy. If I know the name of the viewer that I want to use (say for example: ‘ImageMagick’), where do I find the argument that should be used in a line of code such as this: ImageShow.register(MyViewer("gwenview"), -1) I want to replace ‘gwenview’ with the name of my

Re: Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-30 Thread Paul St George
are very right. The show() method is intended for debugging purposes and is useful for that, but what method should I be using and is PIL the best imaging library for my purposes? I do not want to manipulate images, I only want to show images (full screen) on an external display. I want to use Python

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Ian Kelly
On Sat, May 26, 2018 at 9:17 AM, Paul St George wrote: > Thank you. > You are very right. The show() method is intended for debugging purposes and > is useful for that, but what method should I be using and is PIL the best > imaging library for my purposes? I do not want to manipula

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Steven D'Aprano
On Tue, 29 May 2018 20:02:22 +0200, Paul St George wrote: > Is there, somewhere, a list of viewers and their names (for the purposes > of this script)? Do you mean a list of programs capable of viewing graphics? Do you think there is some sort of central authority that registers the names of all

Re: Re: Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Paul St George
St George wrote: This is very helpful indeed, thank you. Awe-inspiring. It occurred to me that I could edit the PIL/ImageShow.py, replacing ‘xv’ (in five places) with the utility of my choice and using ‘executable’ as the command. Or, is this just not done? No, this tends to become a maintenan

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Paul St George
I tried this anyway. The error was:     non-keyword arg after keyword arg On 27/05/2018 21:51, Dennis Lee Bieber wrote: On Sun, 27 May 2018 19:59:41 +0200, Paul St George declaimed the following: So, on Unix I would use Image.show(title=None, nameofdisplayutilty), or Image.show(title=None

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Paul St George
Thank you. For the advice, and for the new word 'monkeypatch'. On 27/05/2018 23:58, Cameron Simpson wrote: On 27May2018 20:15, Paul St George wrote: This is very helpful indeed, thank you. Awe-inspiring. It occurred to me that I could edit the PIL/ImageShow.py, replacing ‘xv

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Paul St George
Should the PIL code be corrected? On 28/05/2018 06:34, Christian Gollwitzer wrote: Am 27.05.18 um 23:58 schrieb Cameron Simpson: On 27May2018 20:15, Paul St George wrote: This is very helpful indeed, thank you. Awe-inspiring. It occurred to me that I could edit the PIL/ImageShow.py

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Peter J. Holzer
On 2018-05-28 06:34:30 +0200, Christian Gollwitzer wrote: > I think this is a bug/misfeature in the PIL code. On all 3 major platforms > there is a way to invoke the standard program for a given file or URL. On > Windows, it is "cmd.exe /c start ...", on OSX it is "open ..

Re: Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-29 Thread Peter Otten
Paul St George wrote: > This is very helpful indeed, thank you. Awe-inspiring. > > It occurred to me that I could edit the PIL/ImageShow.py, replacing ‘xv’ > (in five places) with the utility of my choice and using ‘executable’ as > the command. > > Or, is this just not don

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-27 Thread Christian Gollwitzer
Am 27.05.18 um 23:58 schrieb Cameron Simpson: On 27May2018 20:15, Paul St George wrote: This is very helpful indeed, thank you. Awe-inspiring. It occurred to me that I could edit the PIL/ImageShow.py, replacing ‘xv’ (in five places) with the utility of my choice and using ‘executable’ as

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-27 Thread Cameron Simpson
On 27May2018 20:15, Paul St George wrote: This is very helpful indeed, thank you. Awe-inspiring. It occurred to me that I could edit the PIL/ImageShow.py, replacing ‘xv’ (in five places) with the utility of my choice and using ‘executable’ as the command. Or, is this just not done? It

Re: Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-27 Thread Paul St George
This is very helpful indeed, thank you. Awe-inspiring. It occurred to me that I could edit the PIL/ImageShow.py, replacing ‘xv’ (in five places) with the utility of my choice and using ‘executable’ as the command. Or, is this just not done? On 26/05/2018 19:11, Peter Otten wrote: Paul St

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-27 Thread Paul St George
So, on Unix I would use Image.show(title=None, nameofdisplayutilty), or Image.show(title=None, scriptname) #where script with name scriptname invokes the program I will try this now! And thank you. On 26/05/2018 19:30, Dennis Lee Bieber wrote: On Sat, 26 May 2018 17:17:42 +0200, Paul St Geo

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-26 Thread Peter Otten
Paul St George wrote: > Thank you. > You are very right. The show() method is intended for debugging purposes > and is useful for that, but what method should I be using and is PIL the > best imaging library for my purposes? I do not want to manipulate > images, I only want to sh

Re: Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-26 Thread Paul St George
Thank you. You are very right. The show() method is intended for debugging purposes and is useful for that, but what method should I be using and is PIL the best imaging library for my purposes? I do not want to manipulate images, I only want to show images (full screen) on an external display

Re: The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-25 Thread boB Stepp
On Fri, May 25, 2018 at 6:04 AM, Paul St George wrote: > I am using the Python Imaging Library (PIL), Python 2 and Raspberry Pi 3 B+ > > My code is simply: > > from PIL import Image > > im = Image.open(‘somepic.jpg’) > im.show() # display image > > >

The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

2018-05-25 Thread Paul St George
I am using the Python Imaging Library (PIL), Python 2 and Raspberry Pi 3 B+ My code is simply:     from PIL import Image     im = Image.open(‘somepic.jpg’)     im.show() # display image But the show() method looks for the default viewer (probably xv). How do I change this (in the code, or

Re: AH01215: ImportError: No module named PIL: - python script unable to recognize PIL when running from apache2 config

2017-03-28 Thread Terry Reedy
On 3/28/2017 11:59 AM, vishnupras...@gmail.com wrote: I capture following error in apache logs. AH01215: from PIL import Image: /var/www/images/index.py AH01215: ImportError: No module named PIL: /var/www/images/index.py A general response to this particular message is a) check spelling in

Re: AH01215: ImportError: No module named PIL: - python script unable to recognize PIL when running from apache2 config

2017-03-28 Thread Karim
On 28/03/2017 18:35, Chris Angelico wrote: On Wed, Mar 29, 2017 at 3:32 AM, Karim wrote: On 28/03/2017 18:05, Chris Angelico wrote: On Wed, Mar 29, 2017 at 2:59 AM, wrote: Please help if this wont resolve, I have to completely move away from python. How about, instead, moving away from C

Re: AH01215: ImportError: No module named PIL: - python script unable to recognize PIL when running from apache2 config

2017-03-28 Thread Chris Angelico
On Wed, Mar 29, 2017 at 3:32 AM, Karim wrote: > > On 28/03/2017 18:05, Chris Angelico wrote: >> >> On Wed, Mar 29, 2017 at 2:59 AM, wrote: >>> >>> Please help if this wont resolve, I have to completely move away from >>> python. >> >> How about, instead, moving away from CGI? Switch to Apache's

Re: AH01215: ImportError: No module named PIL: - python script unable to recognize PIL when running from apache2 config

2017-03-28 Thread Chris Angelico
On Wed, Mar 29, 2017 at 2:59 AM, wrote: > Please help if this wont resolve, I have to completely move away from python. How about, instead, moving away from CGI? Switch to Apache's modpython. I've deployed several Python-based web sites without difficulties. ChrisA -- https://mail.python.org/m

AH01215: ImportError: No module named PIL: - python script unable to recognize PIL when running from apache2 config

2017-03-28 Thread vishnuprasadh
log" common Options +ExecCGI Allow from all Require all granted ForceType text/html AddHandler cgi-script .py In the index.py am just trying to start the script by trying to import the image. It doenst work i.e. recognize at all. The same import of PIL works from python2/python3 interface in

Re: Address boundary error when trying to use Image.putdata(array) from PIL

2016-09-24 Thread MRAB
On 2016-09-24 11:59, Tristan Trouwen wrote: Got a signal boundary error. Steps to reproduce: open python console Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information

Address boundary error when trying to use Image.putdata(array) from PIL

2016-09-24 Thread Tristan Trouwen
Got a signal boundary error. Steps to reproduce: open python console Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PIL import Image >&

Re: PIL module for 64bit Python 2.7

2015-11-06 Thread Stéphane Wirtel
me know where I can download PIL module for 64bit Python 2.7 ? >> I found for 32 bit Python 2.7 only and the installation ended with an >> error that the >> Python 2.7 was not found in registers. >> Thank you > > The Modern Fork of PIL is Pillow. > hhttps://pypi.py

Re: PIL module for 64bit Python 2.7

2015-11-06 Thread Laura Creighton
In a message of Fri, 06 Nov 2015 20:55:34 +0100, "Jahn" writes: >Can anyone lat me know where I can download PIL module for 64bit Python 2.7 ? > I found for 32 bit Python 2.7 only and the installation ended with an error > that the >Python 2.7 was not found in registers.

Re: PIL module for 64bit Python 2.7

2015-11-06 Thread Stéphane Wirtel
You can install Pillow, the API is the same. and normally will compile for your architecture. On 6 Nov 2015, at 14:55, Jahn wrote: > Can anyone lat me know where I can download PIL module for 64bit Python 2.7 ? > I found for 32 bit Python 2.7 only and the installation ended with an

PIL module for 64bit Python 2.7

2015-11-06 Thread Jahn
Can anyone lat me know where I can download PIL module for 64bit Python 2.7 ? I found for 32 bit Python 2.7 only and the installation ended with an error that the Python 2.7 was not found in registers. Thank you --- This email has been checked for viruses by Avast antivirus software. https

Re: Fwd: PROBLEM IN importing PIL

2015-07-16 Thread Laura Creighton
In a message of Fri, 17 Jul 2015 09:18:46 +0530, rahul tiwari writes: >I want to import PIL package but every time this is showing error " no PIL > module find" . > >plz suggest me how i can fix this problem. Get Pillow. Instructions on how to install it here: https://

Re: PIL(LOW) - What am I missing?

2015-03-25 Thread kai . peters
On Wednesday, 25 March 2015 20:54:21 UTC-7, kai.p...@gmail.com wrote: > I create an image as per: > > img = Image.new('1', (1024, 1280), 1) > > I then draw on it and do: > > imagedata = list(img.getdata()) > print len(imagedata) > > This gives me 1228800 instead of the expec

Re: PIL(LOW) - What am I missing?

2015-03-25 Thread Gary Herron
024 * 1280) - any ideas what I am missing? As always, any help much appreciated. Kai Are you sure? Both Python2 and Python3 give me the expected 1310720, I'm running PILLOW version 2.6.1 on Linux (with both Python 3.4.2 and Python 2.7.8). >>> from PIL import Image >>>

PIL(LOW) - What am I missing?

2015-03-25 Thread kai . peters
I create an image as per: img = Image.new('1', (1024, 1280), 1) I then draw on it and do: imagedata = list(img.getdata()) print len(imagedata) This gives me 1228800 instead of the expected 1310720 (1024 * 1280) - any ideas what I am missing? As always, any help much

Re: PIL installation fails; registration problem

2015-03-01 Thread GerritM
Some more searching brought me to Pillow. That seems to work! No answer needed anymore on previous question. On Saturday, February 28, 2015 at 9:51:53 PM UTC+1, GerritM wrote: > I am reinstalling everything on my new Windows 7 laptop. I run into a problem > when installing PIL 1.1

PIL installation fails; registration problem

2015-02-28 Thread GerritM
I am reinstalling everything on my new Windows 7 laptop. I run into a problem when installing PIL 1.1.7, in combination with my Activestate Python 2.7.8. The PIL installer complains that no Python is registered. I did run Joakim Löw's script to register Python. This results in the me

Re: Installing PIL without internet access

2015-02-26 Thread Larry Martell
On Thu, Feb 26, 2015 at 11:57 AM, MRAB wrote: > On 2015-02-26 15:23, Larry Martell wrote: >> >> I have a host that has no access to the internet and I need to install >> PIL on it. I have an identical host that is on the internet and I have >> installed it there (with

Re: Installing PIL without internet access

2015-02-26 Thread Terry Reedy
On 2/26/2015 10:23 AM, Larry Martell wrote: I have a host that has no access to the internet and I need to install PIL on it. I have an identical host that is on the internet and I have installed it there (with pip). Is there a way I can copy files from the connected host to a flash drive and

Re: Installing PIL without internet access

2015-02-26 Thread MRAB
On 2015-02-26 15:23, Larry Martell wrote: I have a host that has no access to the internet and I need to install PIL on it. I have an identical host that is on the internet and I have installed it there (with pip). Is there a way I can copy files from the connected host to a flash drive and then

Installing PIL without internet access

2015-02-26 Thread Larry Martell
I have a host that has no access to the internet and I need to install PIL on it. I have an identical host that is on the internet and I have installed it there (with pip). Is there a way I can copy files from the connected host to a flash drive and then copy them to the unconnected host and have

Re: How to install PIL or PILLOW on OS X Yosemite?

2015-02-19 Thread Russell Owen
On 2/15/15 8:17 PM, Ned Deily wrote: In article , KP wrote: just upgraded my Mac Mini to Yosemite and have never dabbled in Python on this OS. I see it has Python 2.7.6 installed. When I do something like from PIL import ImageFont, ImageDraw it tells me that it cannot find PIL How do I

Re: How to install PIL or PILLOW on OS X Yosemite?

2015-02-15 Thread Ned Deily
In article , KP wrote: > just upgraded my Mac Mini to Yosemite and have never dabbled in Python on > this OS. > > I see it has Python 2.7.6 installed. > > When I do something like > > from PIL import ImageFont, ImageDraw > > it tells me that it cannot find PIL

How to install PIL or PILLOW on OS X Yosemite?

2015-02-15 Thread KP
Hi, just upgraded my Mac Mini to Yosemite and have never dabbled in Python on this OS. I see it has Python 2.7.6 installed. When I do something like from PIL import ImageFont, ImageDraw it tells me that it cannot find PIL How do I install this on Yosemite? Any pointers much appreciated KP

Re: PIL can't read binary

2014-09-23 Thread Ned Batchelder
On 9/23/14 4:29 AM, Frank Liou wrote: I use PIL Image.open() but it show 'list' object has no attribute 'open' this is my code class Image2(): trans = connection.begin() session = Session() ProductId = session.query(ProductEntity.ProductId).filter(Product

Re: PIL can't read binary

2014-09-23 Thread Chris Angelico
On Tue, Sep 23, 2014 at 6:29 PM, Frank Liou wrote: > I use PIL Image.open() > > but it show 'list' object has no attribute 'open' > > this is my code > > class Image2(): > trans = connection.begin() > session = Session() > ProductId

PIL can't read binary

2014-09-23 Thread Frank Liou
I use PIL Image.open() but it show 'list' object has no attribute 'open' this is my code class Image2(): trans = connection.begin() session = Session() ProductId = session.query(ProductEntity.ProductId).filter(ProductEntity.CompanyId=="2").al

Re: Error while installing PIL

2014-06-04 Thread Mark H Harris
On 6/4/14 10:02 PM, Sanjay Madhikarmi wrote: I have already install python 2.7 64bit in my windows 8 machine but while installing PIL 1.1.7 for python 2.7 it says that "Python 2.7 required which was not found in the registry" Please help me sort out this problem ... also this one;

Re: Error while installing PIL

2014-06-04 Thread Mark H Harris
On 6/4/14 10:02 PM, Sanjay Madhikarmi wrote: I have already install python 2.7 64bit in my windows 8 machine but while installing PIL 1.1.7 for python 2.7 it says that "Python 2.7 required which was not found in the registry" ... oops, sorry, also this one: http://stackoverflow.com

Re: Error while installing PIL

2014-06-04 Thread Mark H Harris
On 6/4/14 10:02 PM, Sanjay Madhikarmi wrote: I have already install python 2.7 64bit in my windows 8 machine but while installing PIL 1.1.7 for python 2.7 it says that "Python 2.7 required which was not found in the registry" Please help me sort out this problem http://stackov

Error while installing PIL

2014-06-04 Thread Sanjay Madhikarmi
Dear sir/madam I have already install python 2.7 64bit in my windows 8 machine but while installing PIL 1.1.7 for python 2.7 it says that "Python 2.7 required which was not found in the registry" Please help me sort out this problem Thanks in advance -- *Regards, Sanjay Madh

Re: PIL Image.fromarray( ... , mode="1" )

2014-02-12 Thread xstgavin124
On Saturday, 31 October 2009 23:43:45 UTC+8, Hans Georg Schaathun wrote: > Does anyone know how to save two-tone images represented as > numpy arrays? I handle grayscale images by converting to > PIL Image objects (mode="L") and then use the PIL save method, > but I cann

Update image in same window with, say, PIL

2014-01-04 Thread John O'Hagan
#wait for signal that filename has been updated, #or to break image = cv.LoadImage(filename) cv.ShowImage(filename, image) cv.WaitKey(1000) I would like to do the same thing using PIL, for two reasons. First, the main project is written in Python 3, but cv

Re: PIL(Pillow) fails with PNG image

2013-12-05 Thread Christian Gollwitzer
Am 05.12.13 21:26, schrieb tastyminerals: Hi, I am getting an error when trying to use Pillow library to display image PNG on a Tkinter Button widget. Here is my code. |image= Image.open(os.path.join('icons','bulb.png')) # using PIL for png images se

Re: PIL(Pillow) fails with PNG image

2013-12-05 Thread John Gordon
In tastyminerals writes: > d= Image._getdecoder(self.mode, d, a, self.decoderconfig) > AttributeError: 'module' object has no attribute'_getdecoder'||| Do you have your own module named Image.py? -- John Gordon Imagine what it must be like for a real medical doctor to gor.

Re: PIL(Pillow) fails with PNG image

2013-12-05 Thread Terry Reedy
. |image= Image.open(os.path.join('icons','bulb.png')) # using PIL for png images self.correctGuessImage= ImageTk.PhotoImage(image) |>>> |File "/home/user/Documents/temp.py", line222, in drawButtons self.correctGuessImage= Image

PIL(Pillow) fails with PNG image

2013-12-05 Thread tastyminerals
Hi, I am getting an error when trying to use Pillow library to display image PNG on a Tkinter Button widget. Here is my code. |image= Image.open(os.path.join('icons','bulb.png')) # using PIL for png images self.correctGuessImage= ImageTk.PhotoImage(image) |&g

Re: I need multiples images in one image whit PIL.

2013-11-06 Thread Roy Smith
everal¦ Python image manipulation packages which could do this. PIL is sort of the classic, but perhaps not the most convenient to use: http://www.pythonware.com/products/pil/ There are several Python bindings for ImageMagic. I've not used it myself, but heard good things about it: h

I need multiples images in one image whit PIL.

2013-11-06 Thread hpuerta
Hi, I need to join multiples images in one image, in client side i don't found the way to do, is possible in server side whit python django, any suggest? -- https://mail.python.org/mailman/listinfo/python-list

problem loading Python PIL module

2013-06-01 Thread Elliot Perlman
Hi, I have a Python program which worked successfully on several PCs using version 2.2 and showed videos using the PIL module version 1.1.5 . (All the rest works but the videos.) When I try to install the downloaded PIL module on my current laptop PC, I get the error message "Coul

Re: PIL: check if image is animated

2013-05-09 Thread Sven
y be a gif that's been renamed to .jpg or something else > and is still animated. > > I thought that this used to work: > > from PIL import Image > > > def check_animated(img): > try: > img.seek(1) > except (EOFError): > return 0 >

PIL: check if image is animated

2013-05-06 Thread Sven
Hello, I am trying to check if an image is animated. I can't rely on the extension as it may be a gif that's been renamed to .jpg or something else and is still animated. I thought that this used to work: from PIL import Image def check_animated(img): try: img.seek(1)

Re: Searching for a replacement for PIL

2013-02-26 Thread Chris Rebert
On Tue, Feb 26, 2013 at 10:17 PM, Thorsten Kiefer wrote: > Hi, > my actual program imports ImageTk, to generate TK compatible images. > But it seems like PIL is no longer supported. Have you investigated the Pillow fork? https://pypi.python.org/pypi/Pillow/ Cheers, Chris

Searching for a replacement for PIL

2013-02-26 Thread Thorsten Kiefer
Hi, my actual program imports ImageTk, to generate TK compatible images. But it seems like PIL is no longer supported. Is there a replacement for draw Images at high rates into TKinter GUIs ? Best regards Thorsten -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL ImageChops.difference not working correctly(?)

2013-02-18 Thread Jon Reyes
Wow, what the heck, I just learned that using beyond compare if I compare the two images then I'll see a different section under tolerance mode. Anyone an expert on images? The two images have whites on that same image but they're different according to BeyondCompare. What's more, if I do a bina

PIL ImageChops.difference not working correctly(?)

2013-02-18 Thread Jon Reyes
I have two images generated from ImageMagick that I need to compare through PIL but when I compare them it says that the two images aren't identical. I tried viewing the supposed "difference" but all I see is a black image which means the two image are identical. ImageChops e

Re: PIL or something to open EXIF Metadata with Python

2013-01-10 Thread Pete Forman
Tim Golden writes: > On 09/01/2013 14:45, Jose Trevino wrote: >> I am trying to load the PIL module to manage exif metadata with >> Python but have had no success. > > > Try pyexiv2: > > http://tilloy.net/dev/pyexiv2/ > > TJG Or Hachoir http://pypi.py

Re: PIL or something to open EXIF Metadata with Python

2013-01-09 Thread Tim Golden
On 09/01/2013 14:45, Jose Trevino wrote: > I am trying to load the PIL module to manage exif metadata with > Python but have had no success. Try pyexiv2: http://tilloy.net/dev/pyexiv2/ TJG -- http://mail.python.org/mailman/listinfo/python-list

PIL or something to open EXIF Metadata with Python

2013-01-09 Thread Jose Trevino
I am trying to load the PIL module to manage exif metadata with Python but have had no success. I do some work relate with applescript, but for large files time increases exponentially. So I changed to Python with the intention of using PIL or something similar. I see that the last update of

Re: PIL and requests don't get along

2012-10-24 Thread Roy Smith
In article , Kushal Kumaran wrote: > On 23 Oct 2012 14:06:59 -0400, r...@panix.com (Roy Smith) wrote: > > I have a url from which I can get an image. I want to use PIL to > > manipulate that image. Getting the image is easy: > > > > >>> import r

Re: PIL and requests don't get along

2012-10-23 Thread Kushal Kumaran
On 23 Oct 2012 14:06:59 -0400, r...@panix.com (Roy Smith) wrote: > I have a url from which I can get an image. I want to use PIL to > manipulate that image. Getting the image is easy: > > >>> import requests > >>> r = requests.get(url) > > There's

Re: PIL and requests don't get along

2012-10-23 Thread Alex Clark
On 2012-10-23 18:06:59 +, Roy Smith said: I have a url from which I can get an image. I want to use PIL to manipulate that image. Getting the image is easy: import requests r = requests.get(url) There's a bunch of factory functions for Image, but none of them seem to take any

PIL and requests don't get along

2012-10-23 Thread Roy Smith
I have a url from which I can get an image. I want to use PIL to manipulate that image. Getting the image is easy: >>> import requests >>> r = requests.get(url) There's a bunch of factory functions for Image, but none of them seem to take anything that requests

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-10-02 Thread Alex Clark
On 2012-10-02 09:26:56 +, WhisperingWally said: Gelonida N gmail.com> writes: I wondered whether some of you have a little more insight into what's going on with PIL. AFAIK the latest PIL stuff lives here: hg.effbot.org Certainly true, though somewhat meaningless in the

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-10-02 Thread WhisperingWally
Gelonida N gmail.com> writes: > I wondered whether some of you have a little more insight into what's > going on with PIL. AFAIK the latest PIL stuff lives here: hg.effbot.org -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-26 Thread alex23
On Sep 27, 7:44 am, Gelonida N wrote: > This is what is confusing me. > if I start with a new python and I just install Pillow, then pillow is > imported via > import PIL > so it does not seem to have a separate name space > > If I had PIL and pillow installed, then I woul

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-26 Thread Gelonida N
On 09/25/2012 02:42 PM, alex23 wrote: On Sep 25, 6:25 pm, Gelonida N wrote: So it seems to be safe to use either Christoph' binary PIL distribution or to use Pillow. The fact, that pillow is accessable via PyPi / easy_install / PIP pushes me slightly towards pillow. I assume it'

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-25 Thread alex23
On Sep 25, 6:25 pm, Gelonida N wrote: > So it seems to be safe to use either Christoph' binary PIL distribution > or to use Pillow. > > The fact, that pillow is accessable via PyPi / easy_install / PIP pushes > me slightly towards pillow. > I assume it's best to uni

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-25 Thread Gelonida N
ccess using that locally: http://pypi.python.org/pypi/Pillow/ Thanks for all your answers. So it seems to be safe to use either Christoph' binary PIL distribution or to use Pillow. The fact, that pillow is accessable via PyPi / easy_install / PIP pushes me slightly towards pillow. I a

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread alex23
On Sep 25, 11:46 am, Alex Clark wrote: > Actually, I started it for the Plone community, but have recently > broadened the scope (since most of the contributions came from outside > Plone). You're a saint, thanks for taking this on. -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread alex23
On Sep 25, 6:04 am, Gelonida N wrote: > So I'll probably try to install the custom binary, but would like to > know whether anybody has experience with this > build.http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil Sorry, I missed this the first time. I'm using this version

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread Alex Clark
On 2012-09-24 23:38:05 +, alex23 said: On Sep 25, 6:04 am, Gelonida N wrote: This all does not sound very comforting. Why is there no fix on the official site? Has a bug been logged about the issue? The Plone community keeps a fairly up-to-date fork called Pillow, we've had a lot of suc

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread cjgohlke
On Monday, September 24, 2012 4:38:05 PM UTC-7, alex23 wrote: > On Sep 25, 6:04 am, Gelonida N wrote: > > > This all does not sound very comforting. Why is there no fix on the > > > official site? > > > > Has a bug been logged about the issue? > See is

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread alex23
On Sep 25, 6:04 am, Gelonida N wrote: > This all does not sound very comforting. Why is there no fix on the > official site? Has a bug been logged about the issue? The Plone community keeps a fairly up-to-date fork called Pillow, we've had a lot of success using that locally: http://pypi.python

PIL questions: still supported? Problems on 2.7 for win? alternatives?

2012-09-24 Thread Gelonida N
Hi, I'm trying to migrate a project with legacy code from 2.6 (with PIL 1.1.6) to 2.7 with (PIL 1.1.7) The SW should run on Windows. PIL fails with an error concering '_imagingft' This seems to be a known issue. http://code.google.com/p/pythonxy/issues/detail?id=300 and th

Re: Help: PYMALLOC_DBUG and PIL

2012-07-05 Thread tom z
Thanks Roman. of course, i use PYMALLOC_DEBUG with PYMALLOC. -- http://mail.python.org/mailman/listinfo/python-list

Re: Help: PYMALLOC_DBUG and PIL

2012-07-05 Thread Roman Putilov
2012/7/5 tom z > Hi~ all, > I encounter a odd problem, when i compile Python with PYMALLOC_DEBUG, the > PIL module can't work fine, it always make core-dump like this > > [Switching to Thread 182897301792 (LWP 16102)] > 0x004df264 in PyObject_Malloc (nbytes=64) at

Help: PYMALLOC_DBUG and PIL

2012-07-04 Thread tom z
Hi~ all, I encounter a odd problem, when i compile Python with PYMALLOC_DEBUG, the PIL module can't work fine, it always make core-dump like this [Switching to Thread 182897301792 (LWP 16102)] 0x004df264 in PyObject_Malloc (nbytes=64) at Objects/obmalloc.c:804 804

Re: PIL for the Python 3.2.3

2012-06-15 Thread Alec Taylor
** > >Gonzalo > > > > ** ** > > * * > > ** ** > > -- > http://mail.python.org/mailman/listinfo/python-list > > Looks like the PIL fork "Pillow" is coming close to support for Python 3: https://github.com/collective/Pillow/pull/25 -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL for the Python 3.2.3

2012-06-15 Thread Emile van Sebille
On 6/15/2012 5:18 AM Gonzalo de Soto said... Dear Python Org, It wanted to know if already PIL's version is available for Python 3.2.3. Not yet. See http://www.pythonware.com/products/pil/ Emile -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL for the Python 3.2.3

2012-06-15 Thread Mark Lawrence
On 15/06/2012 13:18, Gonzalo de Soto wrote: Dear Python Org, It wanted to know if already PIL's version is available for Python 3.2.3. Thanks. Gonzalo Please refer to Matthew 7:7 for a way forward. -- Cheers. Mark Lawrence. -- http:/

  1   2   3   4   5   6   7   8   9   10   >