<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developer Oracles &#187; image processing php</title>
	<atom:link href="http://devoracles.com/tag/image-processing-php/feed" rel="self" type="application/rss+xml" />
	<link>http://devoracles.com</link>
	<description></description>
	<lastBuildDate>Sun, 21 Mar 2010 11:05:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing ImageMagick without headaches</title>
		<link>http://devoracles.com/installing-imagemagick-without-headaches/17</link>
		<comments>http://devoracles.com/installing-imagemagick-without-headaches/17#comments</comments>
		<pubDate>Sun, 13 Jul 2008 11:51:56 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[Server Management]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[image magick]]></category>
		<category><![CDATA[image manipulating]]></category>
		<category><![CDATA[image processing php]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[imagick]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installing imagemagick]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=17</guid>
		<description><![CDATA[This is simple: on windows systems you have the option to use the automated installer here, it&#8217;s neither complicated or hard to install. On Linux based systems I recommend to install it from source for obvious reasons like you know what&#8217;s installed, where, and if there was a problem, you can debug easily because the [...]]]></description>
			<content:encoded><![CDATA[<p>This is simple: on windows systems you have the option to use the automated installer <a href="http://www.imagemagick.org/script/binary-releases.php#windows">here</a>, it&#8217;s neither complicated or hard to install. On Linux based systems I recommend to install it from source for obvious reasons like you know what&#8217;s installed, where, and if there was a problem, you can debug easily because the log is displayed.<br />
So, login using SSH, you will need to login with a username which has compiling and install privileges.<br />
After you logged in, create a directory where you place the gzipped package you will download from Imagemagick.org.<br />
after you created the directory, type in the console:<br />
<code><br />
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.4.2-1.tar.gz<br />
</code><br />
Currently (13th of July, 2008) 6.4.2 is the latest version of ImageMagick, you may want to check what is the latest release when you install your ImageMagick.<br />
So, the above command will download the imagemagick package to your server.<br />
Let&#8217;s depack it using tar, tar, not untar as there&#8217;s no such command on Linux <img src='http://devoracles.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<code><br />
tar xvfz ImageMagick-6.4.2-1.tar.gz<br />
</code><br />
Depacked. Change the directory to the newly created ImageMagick directory, then let&#8217;s configure and compile it:<br />
<code><br />
./configure<br />
make<br />
</code></p>
<p>If everything was OK, no error, warning or any other weird stuff during compile, you are safe to install it:<br />
<code><br />
make install<br />
</code></p>
<p>And theoretically you are done. To test your installation try Imagemagick&#8217;s <strong>convert</strong> program, if it works, you&#8217;re the best! Type the following in the command line:<br />
<code><br />
  /usr/local/bin/convert logo: logo.gif<br />
</code></p>
<p>ImageMagick is a dependency for Imagick PECL, so before you can use it in PHP for example, the first step is to install ImageMagick THEN Imagick.</p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/installing-imagemagick-without-headaches/17/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Imagick in the most simple way?</title>
		<link>http://devoracles.com/how-to-install-imagick-in-the-most-simple-way/8</link>
		<comments>http://devoracles.com/how-to-install-imagick-in-the-most-simple-way/8#comments</comments>
		<pubDate>Mon, 07 Jul 2008 14:17:31 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[image magick]]></category>
		<category><![CDATA[image manipulating]]></category>
		<category><![CDATA[image processing php]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[imagick]]></category>
		<category><![CDATA[thumbnail image php]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=8</guid>
		<description><![CDATA[This article is recommended for advanced users with linux knowledge.
First, what is Imagick and why would you use it?!
There is a library called ImageMagick&#169; which can handle over 100 types of image formats, apply to images very cool effects and many more things with almost any type of image or even PDF!
So, the PHP developers [...]]]></description>
			<content:encoded><![CDATA[<p>This article is recommended for advanced users with linux knowledge.<br />
First, what is Imagick and why would you use it?!<br />
There is a library called <a href="http://www.imagemagick.org" rel="external nofollow" title="ImageMagick">ImageMagick</a><a href="http://tarr.uspto.gov/servlet/tarr?regser=serial&#038;entry=78333969" rel="external nofollow">&copy;</a> which can handle over 100 types of image formats, apply to images very cool effects and many more things with almost any type of image or even PDF!<br />
So, the PHP developers were a bit jealous as they couldn&#8217;t use easily in their programs this library. Many will say, &#8220;yeah, but GDLibrary it&#8217;s still there&#8221;. Well, if we don&#8217;t look at GDLibrary&#8217;s slowness, the incapability of process almost any type of image file and the fact that it simply has not enough inbuilt gadgets, then yes, there it is.<br />
Let&#8217;s fancy a bit <img src='http://devoracles.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
I develop and manage an image hosting site and in the beginning we used GDLibrary to process the images. It was all cool, we thought it&#8217;s fast and the function we wrote to first check the image type then decide which GD function to use to process the image to create one single thumbnail, is OK. Well, it was. It had only about 100 lines and since we didn&#8217;t have too many members/users, it processed quite fast the images.<br />
Then there was a boom in the number of the users, and the server started to act slow. We added more RAM, then another boom, even more RAM and so on. After a while I started to focus on other methods than always adding RAM and putting new servers in the cluster, and after a while I found Imagick, an ImageMagick interface written by Mikko Koppanen.<br />
After a few test-runs on the production server, I was amazed. The 100 lines of image processing has been forgotten, the total number of lines we use now to create the thumbnails is 9, yeah, nine, and the performance? Well, we got rid of a great amount of RAM.</p>
<p>OK, so how do you install Imagick in a very simple way on a Linux machine.<br />
Imagick is depending on ImageMagick, you have to install that prior you install Imagick. To learn how to install it, <a href="http://devoracles.com/installing-imagemagick-without-headaches/17">I created a short few-step guide here (link)</a>.<br />
Don&#8217;t get mad, but there are only two steps while installing Imagick, first, type the following in the command line (after you logged in as root, of course):</p>
<pre><code class='no-highlight'>
pecl install imagick
</code></pre>
<p>Watch the screen, beautiful, isn&#8217;t it? <img src='http://devoracles.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>OK, the last step is to add the following line in your php.ini:</p>
<pre><code class='no-highlight'>
extension=imagick.so
</code></pre>
<p>You&#8217;re done. You can now use imagick classes in your PHP scripts. Some examples I will post later, just to show you how easy is to use it.<br />
To get the latest Imagick PECL extension, please <a href="http://pecl.php.net/package/imagick">navigate to the official imagick page on pecl.php.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/how-to-install-imagick-in-the-most-simple-way/8/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
