| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: May 2005 Location: Oklahoma City Oklahoma
Posts: 467
![]() | Converting a image with image magick? Hello I been trying to mod my image host script for awhile. Anyway my server has image magic installed and I found out you can run this convert imagefilename.jpg -resize 300x300 newimagefilename.jpg in ssh and i resizes the image like I want. But what I am wondering is how to do this exact same thing in php?
__________________ My sites: Free Funny Videos Free flash games. Free Banner Exchange DotNameHost Hosting at its best Upload More Files |
| |
| | #2 (permalink) |
| NamePros Member Join Date: Nov 2003 Location: Los Angeles
Posts: 168
![]() | There is a PHP API for ImageMagic, it's called MagicWand You'll probably need root access to install it though. I use it under Perl (and it needs PerlMagick for that). ????: NamePros.com http://www.namepros.com/programming/210674-converting-a-image-with-image-magick.html It's pretty cool though. Checkout their official site, or the php addon: http://www.imagemagick.org/script/api.php http://www.magickwand.org/download/php/ Other code: http://www.devarticles.com/c/a/PHP/P...o-ImageMagick/ Ask your sysadmin as you probably already have it installed. Good luck. Luc L.
__________________ Looking for Type-in, Page Rank, Link Popularity, Alexa domains or Whois/Availability? Domain Research Tool Finds, Tracks and Acquires domains. Try it free. |
| |