| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | 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 | 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). 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. Affiliate/referral links are not allowed. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |