| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: watermark.module,v 1.5.2.6 2008/05/17 20:38:05 kbahey Exp $ |
// $Id: watermark.module,v 1.5.2.7 2008/07/10 00:16:31 kbahey Exp $ |
| 4 |
// Author: Khalid Baheyeldin of http://2bits.com |
// Author: Khalid Baheyeldin of http://2bits.com |
| 5 |
// Additional features by schnizZzla for http://BerlinerStrassen.com |
// Additional features by schnizZzla for http://BerlinerStrassen.com |
| 6 |
|
|
| 426 |
if ($img_create_func == 'imagejpeg') |
if ($img_create_func == 'imagejpeg') |
| 427 |
return $img_create_func($im, $image_path, variable_get('image_jpeg_quality', 80)); |
return $img_create_func($im, $image_path, variable_get('image_jpeg_quality', 80)); |
| 428 |
else |
else |
| 429 |
return $img_create_fucn($im, $image_path); |
return $img_create_func($im, $image_path); |
| 430 |
} |
} |
| 431 |
|
|
| 432 |
|
|