FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-09-2011, 09:08 AM
Atıf CEYLAN
 
Default html to image

Hi all,


I need to a console based html to image converter *application. I found the html2png2 application but it need to X. *

--

/**
* @author Atıf CEYLAN
* Software Developer & System Admin
* http://www.atifceylan.com
*/
 
Old 03-09-2011, 11:16 AM
Volkan YAZICI
 
Default html to image

On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:
> I need to a console based html to image converter application. I found
> the html2png2 application but it need to X.

That is not something trivial. Consider the different outputs of
different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
OTOH, you can start by looking at "apt-file search html2" results. (For
instance, I just saw html2ps, and which also need ps2png, which is
provided by tth package.)


Regards.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 878vwomqv1.fsf@alamut.ozu.edu.tr">http://lists.debian.org/878vwomqv1.fsf@alamut.ozu.edu.tr
 
Old 03-09-2011, 11:44 AM
Camaleón
 
Default html to image

On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN wrote:

> I need to a console based html to image converter application. I found
> the html2png2 application but it need to X.

How about "html2ps"? Once you get the PS it should be easier to get an
image from that kind of source.

To fetch a PDF of a remote web page, you can use an online service such
"www.web2pdfconvert.com" (also command line based, it works by sending
out an e-mail).

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: pan.2011.03.09.12.44.47@gmail.com">http://lists.debian.org/pan.2011.03.09.12.44.47@gmail.com
 
Old 03-09-2011, 02:12 PM
godo
 
Default html to image

On 2011-03-09 13:44, Camaleón wrote:

On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN wrote:


I need to a console based html to image converter application. I found
the html2png2 application but it need to X.


How about "html2ps"? Once you get the PS it should be easier to get an
image from that kind of source.

To fetch a PDF of a remote web page, you can use an online service such
"www.web2pdfconvert.com" (also command line based, it works by sending
out an e-mail).

Greetings,


Hi,
if xvfb is acceptable you can use cutycapt (it is in debian repo).
http://cutycapt.sourceforge.net/
xvfb-run --server-args="-screen 0, 1024x768x24" ./CutyCapt --url=...
--out=...

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
English: www.dobosevic.com/en/
Registered Linux User #503414


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

Archive: 4D7798D2.6000309@dobosevic.com">http://lists.debian.org/4D7798D2.6000309@dobosevic.com
 
Old 03-10-2011, 06:31 PM
Atıf CEYLAN
 
Default html to image

Thanks for your answer but I did search as html2 in all packages.
unfortunately I did not found any utility program


On Wed, 09 Mar 2011 14:16:02 +0200, Volkan YAZICI <yazicivo@ttmail.com>
wrote:

On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:

I need to a console based html to image converter application. I
found
the html2png2 application but it need to X.


That is not something trivial. Consider the different outputs of
different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
OTOH, you can start by looking at "apt-file search html2" results.
(For
instance, I just saw html2ps, and which also need ps2png, which is
provided by tth package.)


Regards.


--
/**
* @AUTHOR Atıf CEYLAN
* Software Developer & System Admin
* http://www.atifceylan.com
*/


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

Archive: 4D792700.6090308@atifceylan.com">http://lists.debian.org/4D792700.6090308@atifceylan.com
 
Old 03-10-2011, 06:39 PM
Volkan YAZICI
 
Default html to image

You might want to check here: http://packages.debian.org/search?keywords=html2ps

$ apt-cache show html2ps
Package: html2ps
Priority: optional
Section: text
Installed-Size: 260
Maintainer: Debian QA Group <packages@qa.debian.org>
Architecture: all
Version: 1.0b5-5
Depends: perl, perlmagick, libwww-perl, libhtml-parser-perl, libpaper-utils
Recommends: gs-gpl
Suggests: postscript-viewer, texlive-base, weblint-perl, xhtml2ps
Filename: pool/main/h/html2ps/html2ps_1.0b5-5_all.deb
Size: 104880
MD5sum: a928636e0c5af5b1c0db81588e91b4cd
SHA1: ff484424dc184761ee113941010a7a3e1c6d5081
SHA256: 4f37f0b533fb7160044dad8b5e91043b58a09b56ebc17bc8a1 ba9b1810d2b8e6
Description: HTML to PostScript converter
This program converts HTML directly to PostScript. The HTML code can be
retrieved from one or more URLs or local files, specified as parameters on the
command line. A comprehensive level of HTML is supported, including inline
images, CSS 1.0, and some features of HTML 4.0.
Homepage: http://www.tdb.uu.se/~jan/html2ps.html
Tag: interface::commandline, role:rogram, scope::utility, use::converting, works-with::text, works-with-format::html, works-with-format:ostscript

On Thu, 10 Mar 2011 21:31:12 +0200, Atıf CEYLAN writes:
> Thanks for your answer but I did search as html2 in all packages.
> unfortunately I did not found any utility program
>
> On Wed, 09 Mar 2011 14:16:02 +0200, Volkan YAZICI <yazicivo@ttmail.com> wrote:
>> On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:
>>> I need to a console based html to image converter application. I
>>> found
>>> the html2png2 application but it need to X.
>>
>> That is not something trivial. Consider the different outputs of
>> different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
>> OTOH, you can start by looking at "apt-file search html2" results.
>> (For
>> instance, I just saw html2ps, and which also need ps2png, which is
>> provided by tth package.)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 8762rq22a2.fsf@alamut.ozu.edu.tr">http://lists.debian.org/8762rq22a2.fsf@alamut.ozu.edu.tr
 
Old 03-10-2011, 06:50 PM
Atıf CEYLAN
 
Default html to image

I know the package but can I convert to image from ps format?



On 03/10/2011 09:39 PM, Volkan YAZICI wrote:

You might want to check here: http://packages.debian.org/search?keywords=html2ps

$ apt-cache show html2ps
Package: html2ps
Priority: optional
Section: text
Installed-Size: 260
Maintainer: Debian QA Group <packages@qa.debian.org>
Architecture: all
Version: 1.0b5-5
Depends: perl, perlmagick, libwww-perl, libhtml-parser-perl, libpaper-utils
Recommends: gs-gpl
Suggests: postscript-viewer, texlive-base, weblint-perl, xhtml2ps
Filename: pool/main/h/html2ps/html2ps_1.0b5-5_all.deb
Size: 104880
MD5sum: a928636e0c5af5b1c0db81588e91b4cd
SHA1: ff484424dc184761ee113941010a7a3e1c6d5081
SHA256: 4f37f0b533fb7160044dad8b5e91043b58a09b56ebc17bc8a1 ba9b1810d2b8e6
Description: HTML to PostScript converter
This program converts HTML directly to PostScript. The HTML code can be
retrieved from one or more URLs or local files, specified as parameters on the
command line. A comprehensive level of HTML is supported, including inline
images, CSS 1.0, and some features of HTML 4.0.
Homepage: http://www.tdb.uu.se/~jan/html2ps.html
Tag: interface::commandline, role:rogram, scope::utility, use::converting, works-with::text, works-with-format::html, works-with-format:ostscript

On Thu, 10 Mar 2011 21:31:12 +0200, Atıf CEYLAN writes:


Thanks for your answer but I did search as html2 in all packages.
unfortunately I did not found any utility program

On Wed, 09 Mar 2011 14:16:02 +0200, Volkan YAZICI <yazicivo@ttmail.com> wrote:


On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:


I need to a console based html to image converter application. I
found
the html2png2 application but it need to X.



That is not something trivial. Consider the different outputs of
different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
OTOH, you can start by looking at "apt-file search html2" results.
(For
instance, I just saw html2ps, and which also need ps2png, which is
provided by tth package.)








--

/**

* @author Atıf CEYLAN

* Software Developer & System Admin

* http://www.atifceylan.com

*/
 
Old 03-10-2011, 07:10 PM
Volkan YAZICI
 
Default html to image

You surely can:

$ apt-file search ps2png | grep /usr/bin
tth: /usr/bin/ps2pn

On Thu, 10 Mar 2011 21:50:51 +0200, Atıf CEYLAN writes:
> I know the package but can I convert to image from ps format?
>
> On 03/10/2011 09:39 PM, Volkan YAZICI wrote:
>
> You might want to check here: http://packages.debian.org/search?keywords=html2ps
>
> $ apt-cache show html2ps
> Package: html2ps
> Priority: optional
> Section: text
> Installed-Size: 260
> Maintainer: Debian QA Group <packages@qa.debian.org>
> Architecture: all
> Version: 1.0b5-5
> Depends: perl, perlmagick, libwww-perl, libhtml-parser-perl, libpaper-utils
> Recommends: gs-gpl
> Suggests: postscript-viewer, texlive-base, weblint-perl, xhtml2ps
> Filename: pool/main/h/html2ps/html2ps_1.0b5-5_all.deb
> Size: 104880
> MD5sum: a928636e0c5af5b1c0db81588e91b4cd
> SHA1: ff484424dc184761ee113941010a7a3e1c6d5081
> SHA256: 4f37f0b533fb7160044dad8b5e91043b58a09b56ebc17bc8a1 ba9b1810d2b8e6
> Description: HTML to PostScript converter
> This program converts HTML directly to PostScript. The HTML code can be
> retrieved from one or more URLs or local files, specified as parameters on the
> command line. A comprehensive level of HTML is supported, including inline
> images, CSS 1.0, and some features of HTML 4.0.
> Homepage: http://www.tdb.uu.se/~jan/html2ps.html
> Tag: interface::commandline, role:rogram, scope::utility, use::converting, works-with::text, works-with-format::html, works-with-format:ostscript
>
> On Thu, 10 Mar 2011 21:31:12 +0200, Atıf CEYLAN writes:
>
> Thanks for your answer but I did search as html2 in all packages.
> unfortunately I did not found any utility program
>
> On Wed, 09 Mar 2011 14:16:02 +0200, Volkan YAZICI <yazicivo@ttmail.com> wrote:
>
> On Wed, 09 Mar 2011 12:08:42 +0200, Atıf CEYLAN writes:
>
> I need to a console based html to image converter application. I
> found
> the html2png2 application but it need to X.
>
> That is not something trivial. Consider the different outputs of
> different web browser rendering engines, e.g., Gecko, KHTML, IE, etc.
> OTOH, you can start by looking at "apt-file search html2" results.
> (For
> instance, I just saw html2ps, and which also need ps2png, which is
> provided by tth package.)
>
> --
> /**
> * @author Atıf CEYLAN
> * Software Developer & System Admin
> * http://www.atifceylan.com
> */


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87vczqzqgw.fsf@alamut.ozu.edu.tr">http://lists.debian.org/87vczqzqgw.fsf@alamut.ozu.edu.tr
 

Thread Tools




All times are GMT. The time now is 07:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org