How to convert Whole HTML page to image in php Using GD LIB

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yashvant
Forum Newbie
Posts: 8
Joined: Mon May 05, 2008 4:22 am

How to convert Whole HTML page to image in php Using GD LIB

Post by yashvant »

How to convert Whole HTML page into image in php Using GD LIB
Any one please help me
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: How to convert Whole HTML page to image in php Using GD LIB

Post by yacahuma »

thats a cool one.

I searched on the net and found a couple of products for linux. I guess you solution may turn out to be OS dependant.

I will be interested in knowing the answer to this one.
yashvant
Forum Newbie
Posts: 8
Joined: Mon May 05, 2008 4:22 am

Re: How to convert Whole HTML page to image in php Using GD LIB

Post by yashvant »

any one please help..........
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How to convert Whole HTML page to image in php Using GD LIB

Post by onion2k »

In theory it can be done using imagegrabwindow() or imagegrabscreen() ... but I've never managed to get them to work, and they're Windows only even if you can. Other than getting those to work it's pretty much impossible using GD. You'd need to write something that accessed an external screengrabber application using exec().
yashvant
Forum Newbie
Posts: 8
Joined: Mon May 05, 2008 4:22 am

Re: How to convert Whole HTML page to image in php Using GD LIB

Post by yashvant »

any one please help me and write a code sample.


Regards,
Yashvant
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: How to convert Whole HTML page to image in php Using GD LIB

Post by panic! »

yashvant wrote:any one please help me and write a code sample.


Regards,
Yashvant
I love the way people are offering you constructive help and you're not even acknowleging them at all and just posting more replies.

PLEASE DO ALL THE HARD WORK FOR ME
Regards,
Yashvant

:banghead:
Post Reply