|
|
|
@ -94,8 +94,8 @@ class MY_Output extends CI_Output {
|
|
|
|
|
$new_image_path = $mobile_image_path . $source_image; //小图绝对路径
|
|
|
|
|
if (is_file($source_image_path)) {
|
|
|
|
|
$CI->image_lib->clear();
|
|
|
|
|
$config['image_library'] = 'GD2';
|
|
|
|
|
//$config['image_library'] = 'ImageMagick';
|
|
|
|
|
//$config['image_library'] = 'GD2';
|
|
|
|
|
$config['image_library'] = 'ImageMagick';
|
|
|
|
|
$config['library_path'] = 'c:/ImageMagick/';
|
|
|
|
|
$config['source_image'] = $source_image_path;
|
|
|
|
|
$config['new_image'] = $new_image_path;
|
|
|
|
|