Tiny Core Base > TCB Tips & Tricks

Take screen shot of a specific area using script

<< < (3/4) > >>

malikawan:
i have a java application and in this application i use specific area snap shot which required by user that when gui open the user need some snap shot of specific area so that is why i need it

tinypoodle:
Based on that I assume command line is not of any relevance then.

Do I understand right that you want an offset relative to the the screen area covered by a specified window, rather than an offset relative to screen?

malikawan:

--- Quote from: tinypoodle on January 18, 2014, 04:36:19 PM ---Based on that I assume command line is not of any relevance then.

Do I understand right that you want an offset relative to the the screen area covered by a specified window, rather than an offset relative to screen?

--- End quote ---
tinypoodle thanx for reply yes but my java program have diveded to three window left, right and centermain and i want to capture only centremain window area.

tinypoodle:
http://recordmydesktop.sourceforge.net/manpage.php
is explicit and descriptive in detail about capturing relative to a specified window area.
I wouldn't know though if you could record a single frame with recordmydesktop, you'd have to research further on that.

http://ffmpeg.mplayerhq.hu/ffmpeg.html#X11-grabbing
can most likely capture a single frame, but I wouldn't know if it could capture relative to a specified window area.

Also you can look into documentation of 'import' from ImageMagick - as already hinted by Rich in Reply #5, particularly the "-window id" and the various geometry options.

Rich:
Hi tinypoodle

--- Quote ---particularly the "-window id" and the various geometry options.
--- End quote ---
If he has the window id he can adapt the windowshot script and avoid installing ImageMagic.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version