Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    6

    Default Image magick

    hi , i have installed image magic and i try to use this code :
    <?
    $handle = imagick_readimage( "index1.jpg" ) ;

    //
    // Resize the image to absolute 100x100.
    //
    imagick_zoom( $handle, 100, 100, "!" ) ;

    $image_data = imagick_image2blob( $handle ) ;
    header( "Content-type: " . imagick_getmimetype( $handle ) ) ;
    print $image_data ;
    ?>

    but i recieve this error
    Fatal error: Call to undefined function: imagick_readimage() in /home/mm.php on line 2

    can you please help me ?!

  2. #2
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default

    installing the image magick perl module does not allow imagick functions in php. You need to install the imagick php extension

    http://pecl.php.net/package/imagick

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    6

    Default

    can you please tell me the installation process step by step?
    I have installed image magic but when i try to test it, i receive this error:
    can not find server X

    thnaks for your coorporation

  4. #4
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default

    you can install the Image::Magick perl module through WHM, then dowload the Imagick php extension or learn perl

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    I installed image::Magick from the WHM but it still doesn't work on the servers.

    I have got this on 3 servers.

    Anyone else and is their a step by step somewhere on how to do it manually?

    Thanks,,,

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

  7. #7
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Originally posted by DWHS.net
    I installed image::Magick from the WHM but it still doesn't work on the servers.

    I have got this on 3 servers.

    Anyone else and is their a step by step somewhere on how to do it manually?

    Thanks,,,
    Yep, same problem, doesn't work - did it manually and it works. How do i uninstall the WHM one???
    Michael

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

  9. #9
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    That was fast - but I did say UNinstall (the whm one).
    Michael

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    Uhhh oops

Similar Threads & Tags
Similar threads

  1. Image Magick
    By anish sidhan in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-04-2003, 02:02 PM
  2. Image Magick HELP!
    By LyL18 in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 11-26-2003, 02:43 AM
  3. Convert in Image Magick
    By anish sidhan in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-01-2003, 01:38 PM
  4. Image magick
    By hugo24 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-06-2003, 01:06 AM
  5. Image::Magick
    By gemby in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 05-15-2002, 11:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube