Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CutyCapt runner class.
PHP Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
deps
src
tests
README.md
package.ini
package.xml
vendor.sh

README.md

CutyCaptRunner

This is a wrapper class for cutycapt tool (http://cutycapt.sourceforge.net/)

To use this, you must build cutycapt with qt4 and qt4-devel, qt4-webkit.

<?php
    $runner = new CutyCaptRunner('path/to/CutyCapt');

    $runner->minHeight = 300;
    $runner->minWidth = 300;

    $runner->capture( 'http://google.com' , 'google.png' );

Run Tests

CUTY_BIN=/Users/c9s/src/webpage-screenshot/CutyCapt/CutyCapt.app/Contents/MacOS/CutyCapt phpunit tests/CutyCaptRunnerTest.php
Something went wrong with that request. Please try again.