Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Imagemagick (Windows)

    Could someone provide me with a post on how I can get Imagemagick working with php?

    I've seen plenty of sites related to Linux but unfortunately I'm on a Windows box.

    Do I have to register a specific dll and edit my php.ini or is there something else I need to do to start working with the Imagemagick api?

    Thanks

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,073
    Thanks
    11
    Thanked 98 Times in 96 Posts
    depends how you want to work with it, there is a PECL imagick extension that you can download from pecl.php.net , or you can download the imagemagick binaries and use them via exec().

    Personally I prefer to use the binaries and exec(), grab the imagemagick binaries from http://www.imagemagick.org/script/download.php, there is an installer which sets up the PATH to imagemagick.

    however I prefer to simply exec the path ... e.g.

    exec('c:/imagemagick/bin/convert.exe c:/blah/image.jpg c:/blah/image.png');

    I prefer this method since there is a already convert.exe as part of windows (which does something totally different altogether)
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks firepages. That is exactly what I'm looking for.

    I've never used or even read about 'exec' before but it looks perfect.

  • #4
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    imagemagick 4.2.8

    hi

    Can you please tell me from where can i download the binary of imagemagick 4.2.8 or 5.*.* for windows.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •