PHP Classes

Screenshot: Take screenshots of pages with Internet Explorer

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 5,719 All time: 416 This week: 73Up
Version License PHP version Categories
win-screenshot 0.1GNU General Publi...5.2.2PHP 5, Graphics, Windows
Description 

Author

This class can be used to take screenshots of Web site pages using Internet Explorer.

It can command an instance of the Internet Explorer running on the same Windows machine to make it open a given Web page.

Several aspects of Internet Explorer can be controlled like whether its window will be visible and resizable, show the status, address bars and tool bars, and make the browser occupy the full screen.

The class can grab an image the whole desktop screen or just the Internet Explorer window.

The grabbed image can be saved to a given file in the PNG format (or GIF/JPEG if required).

Innovation Award
PHP Programming Innovation award winner
June 2008
Winner


Prize: One copy of the Zend Studio
Some Web applications publish content that references other sites. In that case it is often useful to show a screenshot of such site pages.

This class provides a solution that can take a screenshot of any remote Web site page.

It starts an instance of the Internet Explorer browser and controls it in such way that it displays the page of the desired site. Then it uses a special PHP GD extension function to capture the image of the site page.

Despite it only works with PHP running on Windows, this is a very useful solution that addresses a frequently requested need of many PHP sites.

Manuel Lemos
Picture of Daniel Neville
Name: Daniel Neville <contact>
Classes: 2 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots (2)  
  • screens/exampleoutput1.png
  • screens/code.png
Videos (1)  
  Files folder image Files (6)  
File Role Description
Files folder imageexamples (2 files)
Plain text file screenshot.class.php Class This holds the actual PHP class
Plain text file manipulation.class.php Class Use this class if you want to have the manipulation features too.

  Files folder image Files (6)  /  examples  
File Role Description
  Plain text file 1.php Example Example usage
  Plain text file 2.php Example Another example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:5,719
This week:0
All time:416
This week:73Up
User Ratings User Comments (2)
 All time
Utility:56%StarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:53%StarStarStar
Tests:-
Videos:57%StarStarStar
Overall:44%StarStarStar
Rank:3464
 
Tests I have done dos'nt work .
14 years ago (Richetin)
32%StarStar
Very good idea .
16 years ago (koko)
70%StarStarStarStar