In message <4ccd954f$0$12350$426a7...@news.free.fr>, News123 wrote:
> Is there any other way to make screen shots in Linux, ideally without
> creating an intermediate file
The ImageMagick “import” command lets you grab the contents of any window
(including the root window) from your X server
On 10/31/2010 05:04 PM, News123 wrote:
> importing ImageGrab un Ubuntu 10.4 fails as seen below:
>
> import _grabscreen
> ImportError: No module named _grabscreen
>
Well I found a partial answer on
http://www.pythonware.com/library/pil/handbook/imagegrab.htm
> The Image
Hi,
It's the first time I wanted to use ImageGrab.
importing ImageGrab fails as seen below:
$ python -c "import ImageGrab"
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/dist-packages/PIL/ImageGrab.py", line 34, in
On Oct 2, 2007, at 2:33 AM, jorma kala wrote:
Is it possible to use ImageGrab of the Python Imaging Library to
capture the screen of a remote computer?
I'm running my python program on a computer that is connected
directly via a ethernet crossover cable to another computer.
Can I so
Hi,
Is it possible to use ImageGrab of the Python Imaging Library to capture the
screen of a remote computer?
I'm running my python program on a computer that is connected directly via a
ethernet crossover cable to another computer.
Can I somehow get ImageGrab to grab the display of the r
Hi,
My application's base is a button, namely all of frames, labels on a
button.And I want to print this view when click the button.
For this I want to use ImageGrabe.grab(bbox) function.But
unfortunately, I can't use this for taking buttons area as bbox.
How can i do these?
--
http://mail.pyth
root = tk.Tk()
def click():
x=button1.winfo_rootx()
y=button1.winfo_rooty()
image=PIL.ImageGrab.grab((x,y,x+260,y+250))
image.save( 'tmp.jpeg')
button1 = tk.Button(root, compound=tk.TOP,
width=60, height=50,bg='black', command=click)
button1.pack()
root.mainloop()
Hi! How c