Welcome Guest, Not a member yet? Register   Sign In
Image Manipulation Class - Imagemagick don't want to work, when with GD2 work's perfectly.
#1

[eluser]yanekpl[/eluser]
With function like this nothing is happening, when i change library to 'gd2' works perfectly.
Here is controller:
Code:
$config['image_library'] = 'ImageMagick';
        $config['source_image'] = /uploads/1.jpg;
        $config['maintain_ratio'] = true;
        $config['width'] = 300;
        $config['height'] = 300;
        $config['quality'] = 100;
        $config['new_image'] = "min_" . $fileName['file_name'];

        $this->load->library('image_lib', $config);

        $this->image_lib->resize();

And when i try to put as library 'imagick', i get error like this:
Quote:Fatal error: Call to undefined method CI_Image_lib::image_process_imagick() in /system/libraries/Image_lib.php on line 357


Messages In This Thread
Image Manipulation Class - Imagemagick don't want to work, when with GD2 work's perfectly. - by El Forum - 06-25-2011, 01:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB