Search found 10 matches
- 2013-01-25T18:50:08-07:00
- Forum: Users
- Topic: Merge 4 IM calls, into 1?
- Replies: 2
- Views: 2407
Merge 4 IM calls, into 1?
I am currently 4 system calls in PHP for some image resizing scripts. I think this may work more stable if I can convert it into one command. Anyone know if this is possible? step 1 (resize image down) system(binary_system_path()."convert $source -limit memory 1 -limit map 1 -thumbnail x800 ...
- 2013-01-23T19:11:21-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
And the main error in our logs for IM that causes the incomplete images starts with this:
convert: Premature end of JPEG file
convert: Premature end of JPEG file
- 2013-01-23T19:10:46-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
So I was reading the imagemagick article about how to speed things up, as my error logs are showing IM has not finishing the completion of the images. It seems because we are sending so many to process sometimes, IM/Server gets overloaded. In the IM article it says to try using not so many system ...
- 2013-01-21T19:30:58-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
I have adjusted these values, even limiting the thread t 1 file, but still getting images ending in grey outputs...any ideas how to resolve?
- 2013-01-18T08:12:55-07:00
- Forum: Users
- Topic: Image partialy converted (ends with grey pixels)
- Replies: 9
- Views: 7292
Re: Image partialy converted (ends with grey pixels)
Did you ever find a particular fix for this? I am having the exact same problem as you have posted about...
- 2013-01-18T07:40:51-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
Ok found the file in: /usr/local/etc/ImageMagick/policy.xml I added these items to the document: <policy domain="resource" name="memory" value="3GB"/> <policy domain="resource" name="temporary-path" value="/tmp"/> <policy domain="resource" name="disk" value="5GB"/> <policy domain="resource" name ...
- 2013-01-18T07:27:55-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
Right now there is only the configure file in that /usr/local/lib/ area
Do I just create one manually and IM will automatically read it?
Do I just create one manually and IM will automatically read it?
- 2013-01-16T23:28:44-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
Ok I updated the configure.xml file with the following items: <configure name="MAGICK_TEMPORARY_PATH" value="/tmp"/> <configure name="MAGICK_THREAD_LIMIT" value="1"/> <configure name="MAGICK_MEMORY_LIMIT" value="1gb"/> <configure name="MAGICK_DISK_LIMIT" value="10gb"/> I restarted the apache server ...
- 2013-01-10T18:48:58-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Re: Image conversion incomplete, grey results
Will try, how do I set my own custom /tmp directory preference for ImageMagick?
- 2013-01-10T08:46:00-07:00
- Forum: Users
- Topic: Image conversion incomplete, grey results
- Replies: 9
- Views: 7040
Image conversion incomplete, grey results
Converting some images via a cron task on our servers, but some of the images do not finish, end up with grey backgrounds. Usually, 2/10 images will not convert correctly. Any ideas whats the problem? http://www.nanamee.com/upload/images/38302/38302_t.jpg code sample: convert $source -limit memory 1 ...