PHP Classes

File: examples/screenshotFromHtmlFile.php

Recommend this page to a friend!
  Classes of Dawood Ikhlaq  >  PHP Chrome PDF  >  examples/screenshotFromHtmlFile.php  >  Download  
File: examples/screenshotFromHtmlFile.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Chrome PDF
Generate PDF or images of HTML pages with Chrome
Author: By
Last change: Apply fixes from StyleCI
Date: 3 years ago
Size: 240 bytes


Class file image Download

include '../vendor/autoload.php';


$chrome=new Chrome(null, '/usr/bin/google-chrome');
"Pdf successfully generated :".$chrome->getScreenShot().PHP_EOL;

For more information send a message to info at phpclasses dot org.