Source for file test_netpbm.php
Documentation is available at test_netpbm.php
* This script provides a simple example of using the Image_Resize library and
* is designed to be used as a test of your setup.
define('IMAGE_TRANSFORM_LIB_PATH', '/netpbm/');
require_once 'Image/Transform.php';
// Change 'IM' to 'GD' to test using the GD library.
$im->load ('Image/Transform/Examples/test.jpg');
// next will resize so that the largest length is 300px - height or width
// next is a subclass call that calls the above with a set size.
// $im->addText(array('text' => 'Annotated'));
$im->save ('/www/htdocs/test.jpg');
Documentation generated on Mon, 11 Mar 2019 15:48:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|