>>>>> "Thaths" == Sudhakar Chandra <[EMAIL PROTECTED]> writes:

    Thaths> Swapan Sarkar proclaimed:
    >> Does anybody know the command line syntax in ImageMagic to
    >> convert a given HTML page to a JPG image to embed in another
    >> HTML page. Is it possible to do in the first place.

    Thaths> I don't think ImageMagick does this.  Here are a couple of
    Thaths> ways of doing it:

    Thaths> 1. Install a2ps (anything to ps) and run it on the HTML
    Thaths> page.  It produces postscript.  You can then use
    Thaths> ImagaMagick or xv with command line options to convert it
    Thaths> to jpeg format.

    Thaths> 2. Search http://help.netscape.com/ for 'command line
    Thaths> options'.  And use netscape to print a HTML page to a
    Thaths> postscript file.  I think a2ps actually uses this
    Thaths> mechanism internally.

I've used html2ps with excellent results.  Use it to convert the HTML
page to postscript, then use ghostscript to render the .ps into a
JPEG.

Regards,

-- Raju

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to