Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   command line interface tool question (http://www.linux-archive.org/debian-user/706336-command-line-interface-tool-question.html)

Jude DaShiell 09-22-2012 11:13 AM

command line interface tool question
 
What command line interface tool or tools does Linux have available to
snag a graphical image of what's on the screen and save that image in a
file? If you're running lynx and you come up on a website with a captcha
on a form and want to snag that captcha so you can send it to a captcha
solving site what can be used to do that?

---------------------------------------------------------------------------
jude <jdashiel@shellworld.net>
Adobe fiend for failing to Flash



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.BSF.2.01.1209220708310.46206@freire1.furyyj beyq.arg">http://lists.debian.org/alpine.BSF.2.01.1209220708310.46206@freire1.furyyj beyq.arg

Camaleón 09-22-2012 01:32 PM

command line interface tool question
 
On Sat, 22 Sep 2012 07:13:10 -0400, Jude DaShiell wrote:

> What command line interface tool or tools does Linux have available to
> snag a graphical image of what's on the screen and save that image in a
> file?

That I know, "ffmpeg" can do it but there has to be others.

> If you're running lynx and you come up on a website with a captcha on a
> form and want to snag that captcha so you can send it to a captcha
> solving site what can be used to do that?

I think "wget" can be of help here but it will depend on how dynamically
the image is rendered.

Anyway, sites using image captcha systems should care about these
situations and provide an alternative method tha can be used for text-
based browsers.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/k3kem2$mv$8@ger.gmane.org

Kent West 09-22-2012 01:45 PM

command line interface tool question
 
On 9/22/12 8:32 AM, Camaleón wrote:

On Sat, 22 Sep 2012 07:13:10 -0400, Jude DaShiell wrote:


What command line interface tool or tools does Linux have available to
snag a graphical image of what's on the screen and save that image in a
file?

That I know, "ffmpeg" can do it but there has to be others.



I've never used ffmpeg for this; I use ImageMagick's import command.

# import MyGraphicImage.jpg

then click on a window to take the snapshot of that window, or draw a
rectangle with your mouse of what you want captured.


You can also import into other formats, just by changing the extension
of your filename:


# import MyGraphicImageAsAPNGFile.png

More info at http://www.imagemagick.org/script/import.php

--
Kent


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 505DC0FC.2050605@acu.edu">http://lists.debian.org/505DC0FC.2050605@acu.edu

green 09-22-2012 02:12 PM

command line interface tool question
 
Jude DaShiell wrote at 2012-09-22 06:13 -0500:
> What command line interface tool or tools does Linux have available to
> snag a graphical image of what's on the screen and save that image in a
> file?

scrot might work for you.

Martin Steigerwald 09-22-2012 03:56 PM

command line interface tool question
 
Am Samstag, 22. September 2012 schrieb Jude DaShiell:
> What command line interface tool or tools does Linux have available to
> snag a graphical image of what's on the screen and save that image in a
> file? If you're running lynx and you come up on a website with a
> captcha on a form and want to snag that captcha so you can send it to
> a captcha solving site what can be used to do that?

apt-cache search captcha yields slimrat and slimrat-nox. In package
description is stated that it can use tesseract OCR to solve captcha
automatically.

Since it appears to be Perl maybe you can dig that out of it?

Apart from that I think there are even native X11 tools for capturing an
image. I have xloadimage on my mind, but I do not have it installed atm. I
am pretty sure that there is a pretty basic X11 tool available however.

--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201209221756.46561.Martin@lichtvoll.de">http://lists.debian.org/201209221756.46561.Martin@lichtvoll.de

Chris Bannister 09-25-2012 01:59 PM

command line interface tool question
 
On Sat, Sep 22, 2012 at 07:13:10AM -0400, Jude DaShiell wrote:
> What command line interface tool or tools does Linux have available to
> snag a graphical image of what's on the screen and save that image in a
> file? If you're running lynx and you come up on a website with a captcha
> on a form and want to snag that captcha so you can send it to a captcha
> solving site what can be used to do that?

First Question. (although now it is rather old):
http://linuxmafia.com/faq/Apps/screen-capture.html

Second Question:
Not sure how'd get the captcha from lynx, but a google search on
"screen captcha using lynx" brings up:

http://superuser.com/questions/94502/captcha-workaround-while-using-a-text-only-broswer
http://meta.stackoverflow.com/questions/31069/browsing-using-lynx-and-links-text-only-browser

etc.

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120925135940.GT8247@tal


All times are GMT. The time now is 10:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.