IT Community - Software Programming, Web Development and Technical Support

ImageMagick

This is a discussion on ImageMagick within the PHP Programming forums, part of the Web Development category; Hi, can any one assit me how to implement ImageMagick and use in my application.. gattuso...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-19-2007, 07:09 AM
gattuso gattuso is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 6
gattuso is on a distinguished road
Default ImageMagick

Hi,

can any one assit me how to implement ImageMagick and use in my application..

gattuso
__________________
Gattuso
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-19-2007, 11:58 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: ImageMagick

ImageMagick

The key component for making dynamic images a reality on your site is an image manipulation program that's controlled by the code that generates your web pages.


*It is more commonly supported by web hosting services than any other package

*It is free

*It runs on Windows and Linux platforms

*It boasts two decades of continual enhancements and bug fixing

*It is robust and powerful, offering extensive capabilities


Instructions for downloading and installing ImageMagick can be found on the ImageMagick web site

If you need more info ask me

-V.Vadivelan

Last edited by vadivelanvaidyanathan : 07-19-2007 at 12:06 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-19-2007, 12:02 PM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: ImageMagick

Following is some simple code that has worked for me

<?

if(!extension_loaded(‘imagick’)) { dl(‘imagick.so’); }
$handle = imagick_create();
imagick_set_attribute($handle,array(“quality”=>1,” magick”=>”png”));
imagick_set_attribute($handle,”size”,”98x20”);
imagick_read($handle,”xc:#cccccc”);
imagick_annotate($handle,array(
“primitive” => “text 10,14 hello”,
“pointsize” => 16,
“antialias” => 1,
“stroke” => “#000000”,
“font” => “arial.ttf”,
));
$handle = imagick_copy_rotate ($handle, 270);
header(“Content-type: image/png”);
imagick_dump($handle,”png”);

?

Last edited by vadivelanvaidyanathan : 07-19-2007 at 12:06 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Addnoise using ImageMagick MagickNet in C#.NET Anandavinayagam C# Programming 1 09-20-2008 02:24 AM
ImageMagick MagickNet C# WebApplication Anandavinayagam C# Programming 80 08-04-2008 01:01 AM
ImageMagick Magicknet psd to gif C#.NET Web Application kingmaker C# Programming 3 02-20-2008 09:57 PM
Chop Image using ImageMagick MagickNet Anandavinayagam C# Programming 3 01-08-2008 04:32 AM
Imagemagick functions Sivamurugan PHP Programming 4 09-09-2007 11:51 PM


All times are GMT -7. The time now is 03:16 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0