1 --- php-pear-Image_Transform-0.2.org/Image_Transform-0.2/Driver/IM.php Tue Jan 7 18:32:51 2003
2 +++ php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/IM.php Tue Jan 7 18:32:13 2003
9 + * @param string $profile
13 + function setProfile($profile) {
14 + $this->command['profile'] = "+profile ". escapeshellarg($profile);
20 * @param $filename string the name of the file to write to
21 --- php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/IM.php~ Mon Sep 9 09:23:23 2002
22 +++ php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/IM.php Tue Dec 3 23:36:39 2002
27 + * Create border around image
30 + * @param string $color
34 + function addBorder($size = 1, $color = 'black') {
35 + $this->command['zBorder'] = "-border ${size}x${size} -bordercolor $color";
39 + * Create thumbnail: resize and add border
44 + * @param string $color
48 + function thumbnail($new_w, $new_h, $size, $color) {
49 + $this->resize($new_w, $new_h);
50 + $this->addBorder($size, $color);
54 * Adjust the image gamma
56 * @param float $outputgamma