Re: Capture JPG from DESKTOP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



khtml2png is a command line program to create screenshots of webpages. It
uses libkhtml (the library that is used in the KDE webbrowser Konqueror). In
khtml2png 2.0.5 to 2.5.0 "convert" from the
ImageMagick<https://historysearch8.info/nph-index.cgi/011110A/http/www.imagemagick.org>graphic
conversion toolkit is used to create the output files in various
image file formats. 2.6.0 and future development will use the built-in
conversion of the Qt library.

Look: http://khtml2png.sourceforge.net/

If you want this into another browser:

A html change his presentantion by browser what can make more complex your
test..
A html dont have into himself the width and height of the screen and this
can be another problem too...

A have seen html to pdf programs but they are really heavy to the server...
if you want to try exist the ps2pdf.

One ideia it is make a bash what
1. open a new browser( firefox ) into the url
2. get a screen capture of the browser
3. kill the browser
4. resize the picture

i don't know how to make to capture a screen shot of the firefox but i know
it is possible. Because some firefox plugins use that image to make some
cool efects.

Take a look:
https://*addon*s.mozilla.org/en-US/*firefox*/*addon*/4258
http://beans.seartipy.com/2006/07/30/different-ways-of-taking-screenshots-in-gnulinux/


On Wed, May 7, 2008 at 11:36 AM, LuCiaNo - CeTre <web@xxxxxxxxxxxx> wrote:

>   Justin King wrote:
> >
> > If you are on a PC, why don't you just press "print screen" and paste
> > image into your fav image editor
> >
> > Or you can use http://www.faststone.org/FSViewerDetail.htm
> > <http://www.faststone.org/FSViewerDetail.htm>
> > which has a capture window facility
> >
> > Justin
> >
> > Justin / Getafixx
> >
>
> Do you know what these two command does ?
>
> convert file.pdf[0] file.jpg
> convert -resize 120x120 file.jpg file-thumb.jpg
>
> * Explaining*: The first take a shot from the page 1 from this pdf file.
> The second resize the image resulted in a thumb of 120x120.
>
> *Now my intention*: I can open a pdf file and take a snapshot of it,
> and about a html file ?
>
> Best Regards
>  
>



-- 
O Blaine - What the developing
/|\ should'nt have been
| thiagomata.blog.com
/ \


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux