Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4415

PIL Question

From PyNewbie <ryan.morrone@gmail.com>
Newsgroups comp.lang.python
Subject PIL Question
Date 2011-05-01 13:50 -0700
Organization http://groups.google.com
Message-ID <b1d97f7b-e9be-431e-8e6c-7b4b2e50e67e@glegroupsg2000goo.googlegroups.com> (permalink)

Show all headers | View raw


Hi,

I'm new with Python and PIL. I have a very simple question regarding an image capture function I'm attempting. 

Here is the code:


>>> from PIL import ImageGrab
>>> ImageGrab.grab().save("screen_capture.jpg", "JPEG")

Question: I can't seem to find the captured image, where does it go?  The python Shell IDE does not display an error, and the code appears to have been processed. 

Additional Info: I'm using Python 2.6, and PIL 1.1.7 for Python 2.6 Windows. 

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

PIL Question PyNewbie <ryan.morrone@gmail.com> - 2011-05-01 13:50 -0700
  Re: PIL Question Chris Rebert <clp2@rebertia.com> - 2011-05-01 18:00 -0700
  Re: PIL Question Terry Reedy <tjreedy@udel.edu> - 2011-05-01 22:50 -0400
  Re: PIL Question nirinA raseliarison <nirina.raseliarison@gmail.com> - 2011-05-02 10:48 +0300

csiph-web