Installing Imagemagick

I've got a question regarding installing Imagemagick on my Redhat Fedora server. It seems as though I can download Imagemagick as a standalone installation or as a PHP API. I'm confused as to the advantages and disadvantages of the two solutions.

Can somebody give me the ads/disads?

If I install the standalone Imagemagick, is it still possible for me to access it's functions from PHP? If so how?

thanks,
Brian Fidler
LVL 1
befidledAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hernst42Commented:
If you install it standalone then you will have no native support in php. It's only avaliable via exec('convert options ...').
There is also an php-module for those function, but I don't know how stable that extension is and if all options that are available on the commandline for convert are also available in PHP.

If you are planing to use it on a high-traffic-page you might use convert via shell-exec and add some caching, on a low-traffic site those thing can be don on the fly. Using convert via exec cause the overhead of spanning the convert-process but might give you more option.
0
befidledAuthor Commented:
So how exactly does the exec('convert options...') function work in PHP? Can you provide me with an example?

thanks.
brian
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.