How to generate an image from a web server ?

43 views
Skip to first unread message

William

unread,
Apr 12, 2006, 11:59:14 AM4/12/06
to url2bmp
Hi,

I'm happy of your beta version :it's very cute (particurlarly resize
and scripting functionalities)

I wan't to generate an image with url2bmp from a web server (apache
with PHP 5). so for example, I would like to save a capture of yahoo.fr
in the file yahoo.png, using a php script with an url like :

http://localhost/url2bmp.php?url=http://www.yahoo.fr&capture=yahoo.png

There is any method to do this (perhaps with a cgi script, or invoking
url2bmp.exe and using command line in a php script) ?

Thanks for ur response, William.
PS : i'm french, sorry about my english

Remi Thomas

unread,
Apr 19, 2006, 9:55:17 AM4/19/06
to url2bmp
Hi,

With actual version of url2bmp you can't achieve this easily.
Does many many people would like this functionnality?

url2bmp Team

William

unread,
Apr 21, 2006, 10:16:50 AM4/21/06
to url2bmp
Hi, txs for response Remi.

I finally use the exec() PHP function with the url2bmp line command do
this :
exec("url2bmp .....");

but I use :
- the old version (not the beta dotnet version)
- the execution time is very long for more than 10 previews : I think
PHP exec function is not the best issue do this (cf. php.net library to
customize) ...
- url2bmp fail if the "URL to preview" contains parameters (for example
http://www.blabla.com?preview=0&test=1.....). in this case, the problem
is url2bmp is opened during the fail preventing application from
continue any other preview generation..

W.GARCIA

Remi Thomas a écrit :

Reply all
Reply to author
Forward
0 new messages