Search found 4 matches

by SPolischook
2011-05-24T05:55:42-07:00
Forum: IMagick
Topic: [solved]When I run my php script in console, I have an error
Replies: 1
Views: 6986

Re: When I run my php script in console, I have an error

The solution is vary simpe - enough to install php5-imagick package. In Ubuntu I use the command

Code: Select all

sudo apt-get install php5-imagick
by SPolischook
2011-05-23T10:07:58-07:00
Forum: IMagick
Topic: [solved]When I run my php script in console, I have an error
Replies: 1
Views: 6986

[solved]When I run my php script in console, I have an error

Code: Select all

Fatal error:  Class 'Imagick' not found 
I use command

Code: Select all

/usr/bin/php5 /var/www/prestai/resize-images.php
Maybe I need write the full path, but I haven`t /usr/bin/Imagic or something like this.
by SPolischook
2011-05-23T08:46:01-07:00
Forum: IMagick
Topic: Have problems in a random places while execution php script
Replies: 1
Views: 6054

Re: Have problems in a random places while execution php scr

Ok, I think I soloved the problem. My problem is that the image that I whant to process have size 0 bite.
by SPolischook
2011-05-22T13:19:49-07:00
Forum: IMagick
Topic: Have problems in a random places while execution php script
Replies: 1
Views: 6054

Have problems in a random places while execution php script

Hi all! My php script may resize and add white border to images. Number of pictures over 20 000 and the total size of more than 3 GB. When I run the script in the browser in different places it gives an error: Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for ...