Having a small problem with Pear's Image_Transform. I'm using the following code:
<?php
require_once 'c:\xampp\xampp\php\pear\Image\Transform.php';
$i =& Image_Transform::factory('GD');
$i->load(pic.gif);
$i->fit(50,50);
$i->save('pic1.gif', 'gif');
?>
This is on a windows system with php5. I know pear is installed and working correctly, as I have used the Form class. I get the following error when running this script:
Fatal error: Call to undefined method PEAR_Error::load() in C:\Program Files\xampp\htdocs\corky\file.php on line 17
I installed GD library using the installer, but am not sure where to look to make sure it is working correctly.
Thanks for any ideas!