Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Installing Imagemagick

Posted on 2004-11-08
3
Medium Priority
?
352 Views
Last Modified: 2013-12-13
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
0
Comment
Question by:befidled
  • 2
3 Comments
 
LVL 48

Expert Comment

by:hernst42
ID: 12528567
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
 
LVL 1

Author Comment

by:befidled
ID: 12528662
So how exactly does the exec('convert options...') function work in PHP? Can you provide me with an example?

thanks.
brian
0
 
LVL 48

Accepted Solution

by:
hernst42 earned 1000 total points
ID: 12530930
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question