html to jpeg conversion.

html to jpeg conversion.

am 18.08.2007 10:22:30 von Bindu Walia

------=_Part_11707_7245844.1187425350232
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
I am looking for a way to convert a html page to a jpeg image. The html
page is a file with images and text. Could someone please suggest a method
or point me to any existing work on this?

Thanks,
Bindu

------=_Part_11707_7245844.1187425350232--

Re: html to jpeg conversion.

am 18.08.2007 16:00:08 von Al

I didn't check; but seem to recall that Imagemagick will do it.

If it does, then I'd suggest using the new php Imagick API for it. Works great.
Don't be put off by the CVS status. Thats' most because of the lac of
documentation so far. http://us3.php.net/manual/en/ref.imagick.

Bindu Walia wrote:
> Hi,
> I am looking for a way to convert a html page to a jpeg image. The html
> page is a file with images and text. Could someone please suggest a method
> or point me to any existing work on this?
>
> Thanks,
> Bindu
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: html to jpeg conversion.

am 18.08.2007 18:23:31 von Brian

Bindu Walia wrote:
> Hi,
> I am looking for a way to convert a html page to a jpeg image. The html
> page is a file with images and text. Could someone please suggest a method
> or point me to any existing work on this?
>

Keep in mind that any server-side application that can create
screenshots will require its own HTML/CSS engine in order to interpret
the markup. Gecko would seem to be the way to go but i don't know of any
PHP scripts that interface with it. I believe there's been some work
done with Java.

Or, if you can install KDE on the server (really not a great idea) you
could use kwebdesktop, which uses Konqueror's layout engine to create
PNGs (a better choice for this than JPEG, IMO).

brian

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php