Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: ImageMagick - image rotate - no work

  1. #11
    Join Date
    Jan 2012
    Posts
    74
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    asap answer required

  2. #12
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    It could be that no one here knows the answer or maybe they do not know exactly what it is you are trying to do.

    To answer your question: as far as I can tell you still must use the system commands. I do not see a way around this.

    Another place to seek answers is the ImageMagick forums itself. Go here and post your question in the "Users" forum.
    To choose the lesser of two evils is still to choose evil. My personal site

  3. #13
    Join Date
    Jan 2012
    Posts
    74
    Thanks
    10
    Thanked 0 Times in 0 Posts

  4. #14
    Join Date
    Jan 2012
    Posts
    74
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    my hosting provider says:
    ImageMagick is a powerful set of image manipulation utilities that you can access through your code to create, edit, and compose bitmap images. There are many Web applications that use ImageMagick to manipulate images, or, if you're an experienced programmer, you can use Perl or PHP to access ImageMagick's convert utility.

    The convert path to ImageMagick, version 5 on our servers is:

    /usr/bin/

    The convert path to ImageMagick, version 6 on our servers is:

    /usr/local/bin/
    well, what is:
    "The convert path to ImageMagick"?
    images read from / images saved to, or...?

  5. #15
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    I am not sure what you would need the convert path to ImageMagick for or how you would use it.

    Images are read from the relative root directory. For example if your image is in your images folder under the file name gdsample.jpg then you can manipulate it with a simple script like:

    Code:
    <?php
    header('Content-Type: image/jpg');
    system("convert images/pops/gdsample1.jpg -flop jpg:-");
    ?>
    <?php and ?> says read everything inbetween as php code.
    header('Content-Type: image/jpg'); says display the content (or output) to the person viewing the page as an image and in particular a jpg image.
    Code:
    system("convert images/gdsample1.jpg -flop jpg:-");
    The above code is the ImageMagick code. As you can see the path to ImageMagick is not being referenced except for using the command system.
    To choose the lesser of two evils is still to choose evil. My personal site

  6. #16
    Join Date
    Jan 2012
    Posts
    74
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    http://www.polisphotos.com/jQueryPb/...08_256x240.png

    Code:
    <?php
    header('Content-Type: image/png');
    system("convert http://www.polisphotos.com/jQueryPb/images/ui-icons_ef8c08_256x240.png -flop png:-");
    ?>
    this worked right as you see at http://www.polisphotos.com/jQueryPb/...k/imagick3.php

    well what if I want to use $im = new Imagick($image); // to built web forms that modify images // not use system... is it new Imagick($image); supported by 5.5.6 version?

  7. #17
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    Have you asked in the ImageMagick forums like I mentioned earlier?
    To choose the lesser of two evils is still to choose evil. My personal site

Bookmarks

Posting Permissions

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