<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1197656249411910200</id><updated>2011-11-27T15:50:15.914-08:00</updated><category term='PHP'/><category term='AJAX'/><category term='mySQL'/><category term='database migration'/><category term='Windows'/><category term='Run Commands'/><title type='text'>Technology Blog</title><subtitle type='html'>Technological Information Archive with latest update.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-5373526547118915799</id><published>2008-08-30T08:26:00.000-07:00</published><updated>2009-07-03T04:12:25.377-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Animated GIFs and PHP</title><content type='html'>&lt;span style="color: rgb(255, 255, 255);"&gt;I'm surprised i don't see much documentation about animated GIF creator online (maybe i'm just not looking hard enough!).  I have listed here what i have found online-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: rgb(255, 255, 255);" align="center"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;b&gt;MagickWand for PHP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt; &lt;hr style="color: rgb(255, 255, 255);" noshade="noshade"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickWand for PHP is a native PHP interface to the new ImageMagick MagickWand API.&lt;/span&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;It is an almost complete port of the ImageMagick C API, excluding some X-Server related functionality, and progress monitoring.&lt;/span&gt;&lt;/p&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;The functionality of the MagickWand API is pretty much unparalelled in the PHP imaging world, allowing the PHP programmer read/write/manipulate access to multiple image formats, along with vector drawing, pixel-level manipulation, and special effects capabilities and more.&lt;/span&gt;&lt;/p&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;ImageMagick (in general) has a fairly high learning curve, but the new MagickWand API, on which this extension is based, is a thousand times clearer, and as a result, easier to understand and manipulate.&lt;/span&gt;&lt;/p&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;It is still complex, to a degree, but it it is capable of some amazing stuff, so it is well worth the time and effort to learn it.&lt;/span&gt;&lt;/p&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;However, it is in many ways still beta software. Both the ImageMagick MagickWand C API, and MagickWand for PHP are apparently stable, but they still need testing, so take that into account.&lt;/span&gt;&lt;/p&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickWand for PHP tries to stay up to date with the latest releases of ImageMagick, so if your PHP compilation fails with an error in some "zif_" function about references to a function that can't be found, you most likely need to update your ImageMagick to the last version MagickWand is known to have successfully compiled against (see INSTALL in this directory for that information).&lt;/span&gt;&lt;/p&gt;  &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;The last-known-good ImageMagick version, as well as the required ImageMagick version, will always be indicated at the top of the INSTALL file in this directory, and notations will be put in the ChangeLog file as well.&lt;/span&gt;&lt;/p&gt;     &lt;p style="color: rgb(255, 255, 255);" align="justify"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Check the ChangeLog and INSTALL files for more necessary information.  The ./docs folder contains the manual.&lt;br /&gt;&lt;br /&gt;The ./demo folder contains 3 files (so far):&lt;br /&gt;demo.gif   : an example script-generated animated GIF file&lt;br /&gt;demo.php   : the script which generates the demo.gif file&lt;br /&gt;demo_c.php : the same script with very detailed comments&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, intrepid traveller, forth, to the journey!&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;table style="color: rgb(255, 255, 255);" width="100%" border="0" cellpadding="4" cellspacing="2"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;   &lt;div style="background-color: rgb(238, 238, 238);" align="right"&gt;&lt;a href="http://www.php-editors.com/contest/cat.html" valign="top"&gt;&lt;img src="http://www.php-editors.com/contest/images/contesthome.gif" valign="bottom" title="PHP Tutorials and Scripts" alt="PHP Tutorials and Scripts" border="0" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;The following demonstration script is also included in the MagickWand for PHP distribution.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;The code was highlighted using PHP's built-in highlight_file() function.&lt;/span&gt;&lt;/p&gt;  &lt;span style="color: rgb(255, 255, 255);"&gt;&lt;b&gt;Image Result&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;The following code produces an image similar to the following:&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;img src="http://www.php-editors.com/contest/resource/82/demo.gif" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;"Similar", not identical, as the colors of the rounded rectangles are randomized.&lt;/span&gt;&lt;/p&gt;  &lt;span style="color: rgb(255, 255, 255);"&gt;&lt;b&gt;CODE&lt;/b&gt;  &lt;/span&gt;&lt;p&gt;&lt;code&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/*&lt;br /&gt;* MagickWand for PHP :: Demonstration program&lt;br /&gt;*&lt;br /&gt;* Author: Ouinnel Watson&lt;br /&gt;* Date: December 2004&lt;br /&gt;*&lt;br /&gt;* WARNING&lt;br /&gt;*   By installing and executing this script, you accept any and all&lt;br /&gt;*   responsibility for any and all damages of any kind which occur as&lt;br /&gt;*   a result of the installation and/or operation of this script, and&lt;br /&gt;*   agree to indemnify the author (Ouinnel Watson) against any liability&lt;br /&gt;*   and/or responsibility for any and all damages resulting from the&lt;br /&gt;*   installation, execution or operation of this script.&lt;br /&gt;*&lt;br /&gt;* Description: The following script demonstrates the inate capabilities of&lt;br /&gt;*              MagickWand for PHP by creating an animated GIF.&lt;br /&gt;*              MagickWand for PHP capabilities used:&lt;br /&gt;*              1) vector drawing (shapes, text, colors)&lt;br /&gt;*              2) default font&lt;br /&gt;*              3) unique color model&lt;br /&gt;*              4) addition of random noise&lt;br /&gt;*              5) several special effects methods&lt;br /&gt;*              6) setting of single frame display time&lt;br /&gt;*              7) and much more...&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;/* General Settings */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$noise_frames &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;5&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The amount of frames/images of random noise to be&lt;br /&gt;                   created at the start of the animation */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$noise_delay &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;20&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The length of time (in hundredth's of a second) that&lt;br /&gt;                   each noisy frame will be displayed */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$cnt_down_start &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The starting number of the countdown */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$cnt_down_delay &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;50&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The length of time (in hundredth's of a second) that&lt;br /&gt;                   each countdown frame will be displayed */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;140&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The width of each frame in the animation */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;70&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The height of each frame in the animation */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_int &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/ &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;10&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The distance, along the x axis, between the edges&lt;br /&gt;                      of the various rounded rectangles to be drawn */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_int &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/ &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;10&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The distance, along the y axis, between the edges of&lt;br /&gt;                       the various rounded rectangles to be drawn */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x1 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The x ordinate of the top-left corner of the bounding&lt;br /&gt;              rectangle in which the first rounded rectangle will be&lt;br /&gt;              drawn */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y1 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The y ordinate of the top-left corner of the bounding&lt;br /&gt;              rectangle in which the first rounded rectangle will be&lt;br /&gt;              drawn */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x2 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The x ordinate of the bottom-right corner of the&lt;br /&gt;                       bounding rectangle in which the first rounded&lt;br /&gt;                       rectangle will be drawn */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y2 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The x ordinate of the bottom-right corner of the&lt;br /&gt;                        bounding rectangle in which the first rounded&lt;br /&gt;                        rectangle will be drawn */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_radius &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_radius &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;10&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The radius of the corners of the rounded rectangles to be&lt;br /&gt;                drawn */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;30&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The initial text annotation font size in pixels */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg_start &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The initial degree amount that the last countdown&lt;br /&gt;                      frame will be swirled */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg_end &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;360&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The maximum degree amount that the last countdown&lt;br /&gt;                      frame will be swirled */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg_int &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;60&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The swirl loop degree increment value */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_delay &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;10&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The length of time (in hundredth's of a second) that&lt;br /&gt;                   each swirled frame will be displayed */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$num_morph_frames &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;5&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The number of intermediary frames between images to&lt;br /&gt;                       be morphed */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_delay &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;20&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The length of time (in hundredth's of a second) that&lt;br /&gt;                   each morphed frame will be displayed */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$logo &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'MagickWand for PHP'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The 1st string to be displayed */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$welcome_msg &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'The future awaits...'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The 2nd string to be displayed */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;NewMagickWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(); &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Create a new MagickWand resource -- "holds"&lt;br /&gt;                             the images */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;NewPixelWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(); &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Creates a new PixelWand resource -- contains&lt;br /&gt;                           information on an individual unit of color;&lt;br /&gt;                           opaque black by default */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$white &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;NewPixelWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'white'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;); &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Does the same as above, except that the&lt;br /&gt;                                PixelWand's color is set to white */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;NewPixelWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;NewDrawingWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(); &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Creates a new DrawingWand resource -- holds&lt;br /&gt;                             vector drawing commands */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;NewDrawingWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/*&lt;br /&gt;The following loop iterates $noise_frames times, doing the following each&lt;br /&gt;time:&lt;br /&gt;1) Creates a new image using MagickNewImage()&lt;br /&gt;2) Adds MW_LaplacianNoise type random noise to the newly created image&lt;br /&gt;3) Sets the amount of time the image is displayed to $noise_delay&lt;br /&gt;   hundredths of a second, using MagickSetImageDelay()&lt;br /&gt;&lt;br /&gt;The user function checkWandError() checks the return type of API functions for&lt;br /&gt;explicit FALSE (via the "===" operator), which indicates an error occurred.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;for (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$noise_frames&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;++) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickNewImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickAddNoiseImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MW_LaplacianNoise&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetImageDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$noise_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Retrieve the current image from $mgck_wnd in a new MagickWand, and assign&lt;br /&gt;it to $pre_morph_wnd.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;=&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickGetImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set variables to random values between 0 and 255, for use in an&lt;br /&gt;ImageMagick color string RGB triple (e.g. rgb(255, 255, 255) == white).&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$red   &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;mt_rand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$green &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;mt_rand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$blue  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;mt_rand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Use color values from above to form an ImageMagick color string RGB triple,&lt;br /&gt;and set the $pxl_wnd PixelWand to that color.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;PixelSetColor&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;"rgb($red, $green, $blue)"&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the fill color (the color in which shapes and text will be drawn), to&lt;br /&gt;$pxl_wnd's color.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawSetFillColor&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add a command to draw a rounded rectangle to the $drw_wnd DrawingWand&lt;br /&gt;from point ($x1, $y1), the top-left corner of the bounding rectangle&lt;br /&gt;to ($x2, $y2), (the bottom right corner), with a corner x-axis radius of&lt;br /&gt;$x_radius, and a corner y-axis radius of $y_radius.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawRoundRectangle&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x2&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y2&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_radius&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_radius&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Create a new image, in $pre_morph_wnd, of $width * $height area, with&lt;br /&gt;$bg_color (currently a black PixelWand resource) background color, set&lt;br /&gt;it's display time to $morph_delay, and draw the $drw_wnd DrawingWand on&lt;br /&gt;the new image.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImageSetDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Morph the images in $pre_morph_wnd, set their displaytime, and and add&lt;br /&gt;them to $mgck_wnd.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addMorphedImages&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$num_morph_frames&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Free the resources associated with $pre_morph_wnd, since it is no longer&lt;br /&gt;needed.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DestroyMagickWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the current active image, in $mgck_wnd's image squence, to the last image.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetLastIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Starting from $i = $cnt_down_start, (with $i being decreased by one at each&lt;br /&gt;iteration's end), and continuing while $i &gt; 0, and the widths and heights of&lt;br /&gt;the rounded rectangles to be drawn are greater than the amounts by which&lt;br /&gt;their sizes are decreased through each iteration,&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;for (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$cnt_down_start&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&amp;amp;&amp;amp; (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x2 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) &gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_int &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&amp;amp;&amp;amp; (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y2 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) &gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;--) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the PixelWand $pxl_wnd's color to that of the ImageMagick color&lt;br /&gt;    string RGB triple "rgb($red, $green, $blue)", where $red, $green, and&lt;br /&gt;    $blue are numbers between 0 and 255, inclusive.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;PixelSetColor&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;"rgb($red, $green, $blue)"&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add commands to draw a $pxl_wnd colored rounded rectangle to $drw_wnd */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawSetFillColor&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawRoundRectangle&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y1&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x2&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y2&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_radius&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_radius&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$red   &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;mt_rand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$green &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;mt_rand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$blue  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;mt_rand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Decrease the size of the next rounded rectange to be drawn */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x1 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;+= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y1 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;+= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x2 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;-= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y2 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;-= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Create a new image in $mgck_wnd, and draw $drw_wnd on it */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImageSetDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$cnt_down_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add commands to draw $i in $white colored text $font_size, horizontally&lt;br /&gt;    and vertically centered at relative point (0, 0), (see function&lt;br /&gt;    definition for details), to the $txt_wnd DrawingWand.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$white&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Draw $txt_wnd on the just created image in the $mgck_wnd MagickWand */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickDrawImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Clear the $txt_wnd DrawingWand of any accumulated commands, and reset the&lt;br /&gt;    settings it contains to their defaults.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;ClearDrawingWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add commands to draw $i, (which now holds a value that is 1 less than the&lt;br /&gt;last $i value drwan in the loop above), in $white at $font_size, to the&lt;br /&gt;$drw_wnd DrawingWand&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$white&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$i&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Draw $drw_wnd on a new image in $mgck_wnd */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImageSetDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* The following loop creates a set of images which, when set as animation&lt;br /&gt;frames, creates a sort of hurricane effect.&lt;br /&gt;&lt;br /&gt;Starting at $swirl_deg = $swirl_deg_start degrees, and increasing&lt;br /&gt;$swirl_deg by $swirl_deg_int degrees as long as $swirl_deg is less than or&lt;br /&gt;equal to $swirl_deg_end, ...&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;for (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg_start&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg_end&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;+= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg_int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* create a new image, draw $drw_wnd on it, set its display time to&lt;br /&gt;    $swirl_delay hundredths of a second, ...&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImageSetDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* and perform the swirl special effect on it at $swirl_deg. */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSwirlImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$swirl_deg&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Following loop ensures that $font_size is */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;while (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;TRUE&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the text font size used by $txt_wnd to $font_size */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawSetFontSize&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* MagickGetStringWidth() returns the width of the specified strings&lt;br /&gt;    ($logo and $welcome_msg), when they are drawn with the settings (font,&lt;br /&gt;    font size, stroke, etc.) of the specified DrawingWand, $txt_wnd.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$logo_width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;=&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickGetStringWidth&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$logo&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$welcome_msg_width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;=&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickGetStringWidth&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$welcome_msg&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* If the widths of both strings are within the acceptable limits, end&lt;br /&gt;    the loop.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;if (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$logo_width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$welcome_msg_width &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;     break;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Otherwise, decrement the $font_size */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;--;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Retrieve the current image from $mgck_wnd in a new MagickWand, and assign&lt;br /&gt;it to $pre_morph_wnd.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;=&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickGetImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add commands to the $txt_wnd DrawingWand to draw the $logo string in $white&lt;br /&gt;at $font_size, then draw $txt_wnd on a new image in $pre_morph_wnd.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$white&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$logo&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Clear $txt_wnd's command list and reset its settings */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;ClearDrawingWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Draw $welcome_msg in $white at $font_size on another new image in&lt;br /&gt;$pre_morph_wnd.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$white&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$welcome_msg&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add the first image in $mgck_wnd to $pre_morph_wnd. */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetFirstIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickAddImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Morph the images in $pre_morph_wnd and add them to the end of $mgck_wnd's&lt;br /&gt;image sequence.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addMorphedImages&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$num_morph_frames&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Free the resources associated with $pre_morph_wnd, $drw_wnd and $txt_wnd,&lt;br /&gt;since they are no longer needed.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DestroymagickWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DestroyDrawingWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DestroyDrawingWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$txt_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Sets the output format of $mgck_wnd's image sequence to GIF */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetFormat&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'GIF'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Retrieves the mime-type associated with $mgck_wnd's image sequence, and&lt;br /&gt;outputs it in a Content-Type header.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;header&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'Content-Type: ' &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickGetMimeType&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;));&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Outputs $mgck_wnd's image sequence as a BLOB (Binary Large Object) */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickEchoImagesBlob&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Free the resources associated with $mgck_wnd */&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DestroymagickWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* ******************** Function Declarations ******************** */&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* Function checkWandError() compares the value of $result, which should be&lt;br /&gt;* the result of any MagickWand API function, to explicit FALSE, and if it is&lt;br /&gt;* FALSE, checks if $wand for contains an error condition (in case the API&lt;br /&gt;* function is just returning FALSE as a normal return value).&lt;br /&gt;*&lt;br /&gt;* If the return value is FALSE, and the $wand contains a set error condition,&lt;br /&gt;* the function outputs the error and forcibly ends the program.&lt;br /&gt;*&lt;br /&gt;* If not, returns $result as a reference.&lt;br /&gt;*&lt;br /&gt;* @param mixed       MagickWand API function result&lt;br /&gt;* @param resource    Any MagickWand API resource&lt;br /&gt;* @param int         Always __LINE__ (script current line number predefined&lt;br /&gt;*                        PHP constant)&lt;br /&gt;*&lt;br /&gt;* @return reference  Returns reference to 1st argument (if no errors found)&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;function &amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$result&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$wand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; if (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$result &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;=== &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;FALSE &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;WandHasException&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$wand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;)) {&lt;br /&gt;     echo &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'&lt;pre&gt;An error occurred on line '&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;': '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;WandGetExceptionString&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$wand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;     exit();&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; return &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$result&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/**&lt;br /&gt;* Function addText() performs several operations on the DrawingWand&lt;br /&gt;* $drw_wnd:&lt;br /&gt;*    1) sets the fill color (the color in which shapes, text, etc. will be&lt;br /&gt;*       drawn) from the PixelWand (or Imagemagick color string) $pxl_wnd with&lt;br /&gt;*       DrawSetFillColor()&lt;br /&gt;*    2) sets the font size of text to be drawn to $font_size, using&lt;br /&gt;*       DrawSetFontSize()&lt;br /&gt;*    3) sets the position where text will be drawn with DrawSetGravity();&lt;br /&gt;*       position is set to MW_CenterGravity by default, which automatically&lt;br /&gt;*       centers text horizontally and vertically&lt;br /&gt;*    4) sets text to be drawn later to $text, which will be drawn at&lt;br /&gt;*       coordinate ($x, $y), (relative to the position indicated by&lt;br /&gt;*       $gravity), with DrawAnnotation()&lt;br /&gt;*&lt;br /&gt;* If no font is set prior to this function being called, the MagickWand API&lt;br /&gt;* uses the default font (seems to be Arial).&lt;br /&gt;*&lt;br /&gt;* @param resource    DrawingWand resource&lt;br /&gt;* @param mixed       PixelWand resource or imagemagick color string&lt;br /&gt;* @param float       desired text font size&lt;br /&gt;* @param float       string to be drawn&lt;br /&gt;* @param int         the desired text gravity, indicating the desired text&lt;br /&gt;*                        position; must be a MagickWand API GravityType&lt;br /&gt;* @param int         x ordinate, relative to the chosen text gravity where&lt;br /&gt;*                        text will be drawn&lt;br /&gt;* @param int         y ordinate, relative to the chosen text gravity where&lt;br /&gt;*                        text will be drawn&lt;br /&gt;*&lt;br /&gt;* @return void       No return value, as all functions used return void.&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$text&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$gravity &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MW_CenterGravity&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the color used to draw shapes and text with $drw_wnd to $pxl_wnd's&lt;br /&gt;    color&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawSetFillColor&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pxl_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the text font size used by $drw_wnd to $font_size */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawSetFontSize&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$font_size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set $drw_wnd text gravity (automatic text positioning setting), to&lt;br /&gt;    $gravity&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawSetGravity&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$gravity&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add a command to the $drw_wnd DrawingWand to draw the $text string at&lt;br /&gt;    point ($x, $y) (relative to $drw_wnd's gravity setting).&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DrawAnnotation&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$x&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$y&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$text&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/**&lt;br /&gt;* Function drawNewImage() creates a new image, using MagickNewImage(), of&lt;br /&gt;* $width * $height area, filled with $bg_color (a PixelWand, or ImageMagick&lt;br /&gt;* color string) color.&lt;br /&gt;*&lt;br /&gt;* It then uses MagickDrawImage() to draw the commands contained in the&lt;br /&gt;* DrawingWand $drw_wnd on the newly reated image.&lt;br /&gt;*&lt;br /&gt;* @param resource    MagickWand resource&lt;br /&gt;* @param resource    DrawingWand resource&lt;br /&gt;* @param int         width of new image&lt;br /&gt;* @param int         height of new image&lt;br /&gt;* @param mixed       PixelWand resource or imagemagick color string&lt;br /&gt;* @param int         Always __LINE__ (script current line number predefined&lt;br /&gt;*                        PHP constant)&lt;br /&gt;*&lt;br /&gt;* @return void&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'program line '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;', function line '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickNewImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickDrawImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/**&lt;br /&gt;* Function drawNewImageSetDelay() calls drawNewImage() to create a new&lt;br /&gt;* image, of $width * $height area, filled with $bg_color color, drawn on by&lt;br /&gt;* DrawingWand $drw_wnd.&lt;br /&gt;*&lt;br /&gt;* It then sets the length of time the new image will be displayed to $delay.&lt;br /&gt;*&lt;br /&gt;* @param resource    MagickWand resource&lt;br /&gt;* @param resource    DrawingWand resource&lt;br /&gt;* @param int         width of new image&lt;br /&gt;* @param int         height of new image&lt;br /&gt;* @param mixed       PixelWand resource or imagemagick color string&lt;br /&gt;* @param int         desired length of time (in hundredths of a second) that&lt;br /&gt;*                        the new image will be displayed&lt;br /&gt;* @param int         Always __LINE__ (script current line number predefined&lt;br /&gt;*                        PHP constant)&lt;br /&gt;*&lt;br /&gt;* @return void&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImageSetDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;drawNewImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$drw_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$bg_color&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'program line '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;', function line '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetImageDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/**&lt;br /&gt;* Function addMorphedImages() morphs the images in $pre_morph_wnd, with&lt;br /&gt;* $num_morph_frames intermediary frames. The new sequence's images are then&lt;br /&gt;* set to display for $morph_delay 100th's of a second, and then added to the&lt;br /&gt;* end of $mgck_wnd's image list.&lt;br /&gt;*&lt;br /&gt;* @param resource    MagickWand resource&lt;br /&gt;* @param resource    MagickWand resource&lt;br /&gt;* @param int         number of intermediary frames desired between the images&lt;br /&gt;*                        to be morphed&lt;br /&gt;* @param int         desired length of time (in hundredths of a second) that&lt;br /&gt;*                        each frame in the newly morphed sequence will be&lt;br /&gt;*                        displayed&lt;br /&gt;* @param int         Always __LINE__ (script current line number predefined&lt;br /&gt;*                        PHP constant)&lt;br /&gt;*&lt;br /&gt;* @return void&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;addMorphedImages&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$num_morph_frames&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;) {&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;'program line '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(221, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;', function line '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the current active image in the $mgck_wnd MagickWand to the first&lt;br /&gt;    image in its image list&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetFirstIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Perform the morph special effect on $pre_morph_wnd and assign the result&lt;br /&gt;    to $morph_wnd&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;=&amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickMorphImages&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$num_morph_frames&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$pre_morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the current active image in the $morph_wnd MagickWand to the first&lt;br /&gt;    image in its image list and remove it.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetFirstIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickRemoveImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Set the current active image in the $morph_wnd MagickWand to the last&lt;br /&gt;    image in its image list and remove it.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetLastIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickRemoveImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Reset $morph_wnd's image list iterator; this has the effect that the&lt;br /&gt;    next call to MagickNextImage($morph_wnd) sets $morph_wnd's current&lt;br /&gt;    active image index to 0, i.e., to the first image.&lt;br /&gt;&lt;br /&gt;    Contrast this behavior to MagickSetFirstIterator()'s, which sets the&lt;br /&gt;    current active image's index to 0, causing the next call to&lt;br /&gt;    MagickNextImage() to actually set the image index to 1, i.e., the&lt;br /&gt;    second image in the MagickWand in question.&lt;br /&gt;&lt;br /&gt;    This is an important distinction -- be careful.&lt;br /&gt; */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickResetIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; while (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickNextImage&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;)) {&lt;br /&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/*&lt;br /&gt;        Set the length of time the current active image is displayed to&lt;br /&gt;        $morph_delay hundredths of a second.&lt;br /&gt;     */&lt;br /&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetImageDelay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_delay&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetLastIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 128, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;/* Add the images in $morph_wnd to the end of $mgck_wnd */&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickSetLastIterator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;checkWandError&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;MagickAddImages&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$mgck_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$line&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;__LINE__&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;DestroymagickWand&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$morph_wnd&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 119, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 187);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;?&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/p&gt; &lt;span style="color: rgb(255, 255, 255);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-5373526547118915799?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/5373526547118915799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=5373526547118915799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/5373526547118915799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/5373526547118915799'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/08/animated-gifs-and-php.html' title='Animated GIFs and PHP'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-8200144297512036028</id><published>2008-08-02T11:28:00.000-07:00</published><updated>2008-08-02T11:28:00.293-07:00</updated><title type='text'>FAQ on AJAX Technology</title><content type='html'>AJAX has become an hot technology with Web2.0 but before starting AJAX Programming developers needs to know some important FAQ on AJAX.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q) Ajax an Microsoft Technology?&lt;/span&gt;&lt;br /&gt;A) Absolutely No, Ajax is an cross browser technology. It is browser dependent and uses JavaScript.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q)Are Ajax applications easier to develop than traditional web applications?&lt;/span&gt;&lt;br /&gt;A) Not necessarily. Ajax applications can involve complex JavaScript code on the client. To develop that complex code efficient and bug-free is not an simple task as it involves pure JavaScript &amp;amp; DHTML coding. But better development tools and frameworks are require to make the Ajax Application development much faster and easier.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt; Q) Do Ajax applications always deliver a better experience than traditional web applications? &lt;/strong&gt;&lt;br /&gt;A) Not necessarily. Ajax gives interaction designers more flexibility. However, the more power we have, the more caution we must use in exercising it. We must be careful to use Ajax to enhance the user experience of our applications, not degrade it.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt; Q) Apart from AJAX any other Technique exist for Dynamic Web Page Update?&lt;/strong&gt;&lt;br /&gt;A)  IFRAMES &lt;p&gt;&lt;strong&gt;Q) Can AJAX access Server side script residing on different domain?&lt;/strong&gt;&lt;br /&gt;A) NO. Ajax can only access the Script residing on same domain. If you try to access the script from other domain browsers gives an error “Access Denied”&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;Q) Ajax can also fetch XML content from server side, if this is true how?&lt;/strong&gt;&lt;br /&gt;A) Using responseXML properties and then by using JavaScript XML DOM to access the attributes and value of XML data.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) Is Ajax is Browser Dependent?&lt;/strong&gt;&lt;br /&gt;A) Yes, Ajax object is part of JavaScript engine inside every browser. So if a new browser comes into market and the JavaScript engine doesn’t have XMLHTTP object then Ajax will not work.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) How can i check the progress of my Ajax call?&lt;/strong&gt;&lt;br /&gt;A) When making Ajax call the readystate has to reach 4 to capture the remote date. So you can insert appropriate messages until the readystate reaches 4.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) Do i have to wait endlessly after making Ajax Call?&lt;/strong&gt;&lt;br /&gt;A) Not always but there are some exceptional cases when the remote server is already busy and is unable to handle your request in that case the JavaScript code will wait until response is fetched from the  remote server or there is browser request timed out. You can use the interval to make another call after specific interval.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) Do i have to explicitly use Ajax Frameworks for implementing Ajax?&lt;/strong&gt;&lt;br /&gt;A) Not necessarily, Ajax Frameworks are meant to make the life of programmers simpler. These frameworks acts as an wrapper to the Ajax Code, they provide you with the function call that will do all the Ajax Call and you don’t have to write the Basic Ajax Code.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) Can Ajax work with all Web Technologies?&lt;/strong&gt;&lt;br /&gt;A) Yes, Ajax is browser dependent and if the web technology you are using supports browser then Ajax will work.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) Can i make multiple Ajax Call?&lt;/strong&gt;&lt;br /&gt;A) Yes you can make multiple Ajax call provided you have separate Ajax Object variables created. Making another Ajax Call on the existing Ajax Object will overwrite the previous make call.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q) Can i do Ajax Connection Pooling Techniques?&lt;/strong&gt;&lt;br /&gt;A) Yes you can do connection pooling for making Ajax call. Here you will be storing all the Ajax objects in a connection pool so that every individual object will perform their own task.&lt;/p&gt; &lt;!-- Social Bookmarks BEGIN --&gt; &lt;div class="social_bookmark"&gt; &lt;a title="Click me to see the sites." href="http://www.hiteshagrawal.com/ajax/faq-on-ajax-technology#" onclick="$$('div.d98').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"&gt;&lt;strong&gt;&lt;em&gt;Bookmark It&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-8200144297512036028?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/8200144297512036028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=8200144297512036028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/8200144297512036028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/8200144297512036028'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/08/faq-on-ajax-technology.html' title='FAQ on AJAX Technology'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-2493930948972596336</id><published>2008-08-02T10:55:00.000-07:00</published><updated>2008-08-02T10:58:18.031-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><title type='text'>How AJAX Works</title><content type='html'>&lt;p&gt;The best way to learn this topic to understand the comparison between the traditional method of calling the Web page from the server and AJAX methodology.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Traditional WebPage Call&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;User interacts with the webpage to perform its operation&lt;/li&gt;&lt;li&gt;The request is submitted to the Web Server along with the information user wants&lt;/li&gt;&lt;li&gt;Server checks for the details and might require to interact with the Database and finally returns the response to the browser&lt;/li&gt;&lt;li&gt;Browser displays the user response details in the form of refreshing the webpage&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Traditional WebPage Call&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   * User has to wait until the page reloads&lt;br /&gt;   * User can perform only one action at a time&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AJAX come to the rescue:&lt;/span&gt;&lt;br /&gt;With AJAX user can fetch the data from the server without refreshing the whole page. During AJAX call following steps are followed&lt;br /&gt;&lt;br /&gt;   * User interacts with the web page to perform its operation. At this point your webpage internally through JavaScript calls a remote file and the user data is passed through GET/POST method&lt;br /&gt;   * The web server receives the request processes it and send the data back to the client browser&lt;br /&gt;   * At this point the web page is not reloaded and the browser JavaScript engine is waiting for the response from the web server.&lt;br /&gt;   * The web page gets the response from the server and dynamically through JavaScript displays the content fetched from the server&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Advantage of using AJAX:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   * Make multiple AJAX calls with different request from the same page&lt;br /&gt;   * Instant result&lt;br /&gt;   * Not to wait for the page to get reload&lt;br /&gt;&lt;br /&gt;Ready for going deep into AJAX Programming, if yes than check out the links below.&lt;br /&gt;Bookmark It&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-2493930948972596336?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/2493930948972596336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=2493930948972596336' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/2493930948972596336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/2493930948972596336'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/08/how-ajax-works.html' title='How AJAX Works'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-8354310590705478734</id><published>2008-08-02T10:52:00.000-07:00</published><updated>2008-08-02T10:55:24.843-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><title type='text'>What is AJAX?</title><content type='html'>&lt;strong&gt;AJAX&lt;/strong&gt; stands for &lt;strong&gt;A&lt;/strong&gt;synchronous &lt;strong&gt;JavaScript&lt;/strong&gt; &lt;strong&gt;A&lt;/strong&gt;nd &lt;strong&gt;X&lt;/strong&gt;ML. It got famous through Gmail etc. It is a part of &lt;strong&gt;Web 2.0 Techniques&lt;/strong&gt; which allows some part or the whole document to dynamically update without refreshing the whole web page. So the time taken to get the response from the server gets reduced as the pages are getting updated in the background through AJAX. Also it gives more interaction on the web page. It is a browser based technology and is independent of any Web Server Programming language.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;AJAX Acronym:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;A:&lt;/strong&gt;&lt;br /&gt;‘A’ stands for Asynchronous mode. This technique allows the web page to make request in asynchronous/synchronous mode to the web server. By default in all the AJAX examples it is set to Asynchronous mode. The advantage of making it asynchronous is that is will allow the web page to make multiple calls at a same time which will work in the background and will update the page dynamically as soon the request gets over. &lt;p&gt;&lt;strong&gt;J:&lt;/strong&gt;&lt;br /&gt;‘J’ stands for JavaScript. AJAX extensively rely on JavaScript Engine for its functioning. So it is essential that the JavaScript should be enabled for AJAX to work.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;X:&lt;/strong&gt;&lt;br /&gt;‘X’ stands for XML. AJAX uses the XMLHttpRequest Object of the JavaScript Engine. With this object it can also handle the request and response messages in XML Format apart fron traditional text format.&lt;/p&gt; &lt;p&gt;Examples of AJAX based websites:&lt;br /&gt;www.gmail.com&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Limitations of AJAX:&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;It can only access the page from the domain the original web page is coming from. i.e. demo.html residing at example.com can makes AJAX call to web page residing only at www.example.com.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Headache of AJAX Programming:&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;All the program will have to be written in JavaScript. So you must be an expert in JavaScript to write AJAX Programs.&lt;/li&gt;&lt;li&gt;AJAX program should be compatible with different browsers DOM.&lt;/li&gt;&lt;li&gt;Lot of request goes to the server. So the server requires huge bandwidth to allocate the request made.&lt;/li&gt;&lt;li&gt;Testing on different browsers.&lt;/li&gt;&lt;li&gt;Sometimes if your servers fails to respond to the AJAX call then you will have to wait endlessly until you again make the AJAX call.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Before AJAX came into Picture:&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;IFRAME were used to display data of other webpage or other domain in the same page. The page inside the IFRAME can be reload/changed dynamically using Traditional JavaScript Technique.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Ready for going deep into AJAX Programming, if yes than check out the links below.&lt;/p&gt; &lt;!-- Social Bookmarks BEGIN --&gt;  &lt;a title="Click me to see the sites." href="http://www.hiteshagrawal.com/ajax/what-is-ajax#" onclick="$$('div.d20').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"&gt;&lt;strong&gt;&lt;em&gt;Bookmark It&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-8354310590705478734?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/8354310590705478734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=8354310590705478734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/8354310590705478734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/8354310590705478734'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/08/what-is-ajax.html' title='What is AJAX?'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-1432656924875091545</id><published>2008-08-02T00:17:00.000-07:00</published><updated>2008-08-02T11:18:24.636-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><title type='text'>Beginning Ajax</title><content type='html'>&lt;st1:city&gt;&lt;st1:place&gt;&lt;span class="txtplain1"&gt;Ajax&lt;/span&gt;&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;span class="txtplain1"&gt; is often mistaken for a programming language, when in reality it is more of a standard or technique used to create better, more interactive web applications. It is used to create more responsive web pages by loading certain areas of a page, instead of an entire page. In this tutorial, and the ones that follow, we will learn to work with it to build dynamic web sites.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;p&gt;&lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; is an acronym that stands for Asynchronous Javascript and XML. It work across a multitude of platforms and is compatible with all of the major browsers. The "asynchronous" portion of its name comes from its ability to request data from the server using the XMLHttpRequest Object and store it in the background without changing the appearance or behavior of the page. &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Typically JavaScript is used to make the &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; function calls. For browsers that do not support XMLHttpRequests, remote scripting can be used.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;In this article we will learn the basics of this technique, along with its history. I will make some assumptions. I will assume that you have some knowledge of HTML or XHTML and JavaScript. An understanding of other web technologies, such as XML and CSS would also be helpful. I add CSS in that mix because CSS is also part of the standard that comprises the makeup of &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt;.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h1&gt;It's All in a Name&lt;/h1&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;I'm sure you all know of the mythological figure &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt;? No? How about &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; the Lesser, who was given the smack down by Poseidon and his trident? &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; the cleaner? Ah there we go. &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Asynchronous techniques can be dated back to the days of DHTML, or even earlier with the src attribute. It could be used to load JavaScript into a page, mimicking some of the &lt;st1:city&gt;&lt;st1:place&gt;AJAX&lt;/st1:place&gt;&lt;/st1:City&gt; type effects. Remote Scripting, introduced in 1998 by Microsoft, acted as a replacement for these techniques, using Java applets to give the client side the opportunity to communicate via JavaScript. Later on Microsoft would go on to create the XMLHttp Request with its release of Internet Explorer 5. &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Then finally, in 2005 (I've skipped a little bit of history to ensure you stay awake), Google popularized &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; techniques with its Google Suggest in an effort to rule the world. Now today, a short three years later, we are all slaves to the Lord and Master Goog. It commands and we search. All Hail the Goog!&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h1&gt;Advantages of Using &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;/h1&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Before we actually learn the techniques, it may help to understand why you would want to and compare the advantages and disadvantages of using &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt;. I would say for the most part that the advantages far outweigh the disadvantages, but you may disagree.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;So without further ado, here are the advantages:&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;&lt;b&gt;-Consistency&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;&lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; allows for a consistent view in that it does not need to reload the entire page like traditional methods. Instead it can reload specific elements, so the page does not need to flash on and off or reposition itself.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Fluidity&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Instead of loading different pages to display information, you can load the data in the same window, making your web page feel and behave more like a Flash or a desktop application.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Usability&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;As stated above, you can make your web pages feel more like an application, allowing for enhanced user experiences and easier controls.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Bandwidth Friendly&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Since &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; updates portions of the web page instead of the whole thing, and handles data in the background, it typically results in faster page loads. And honestly, even if the page does not actually load faster, it feels that way because the page does not flicker or seem to change much at all.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Interactivity&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Due to the increased speed of the pages loaded (or the illusion of increased speed), visitors to your site are more likely to interact with all of the elements on your site. If you have a rating system on your website or a choice of options, in traditional web sites the user chooses some options and has to wait for the page to reload and store the data before displaying more options. With &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt;, it all happens on the fly. I know when I visit a website and after every decision the page has to reload, I get pretty irked, pretty fast. Yet if just the page section updates, I tend to stay. &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;That isn't to say that as &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; gets more popular and we get more used to it, that we won't get impatient with it as well. Consider cooking something in the microwave for five minutes. It seems like a hassle to us now, but back when they were first invented, it was a godsend.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h1&gt;Disadvantages of Using &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;/h1&gt;  &lt;p class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;br /&gt;Believe it or not, even &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; has some disadvantages to it. Here are some things to consider when deciding whether or not to use it:&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Security&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;&lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; has been around for a few years now, but it is really still an infant in terms of technology. And like all new (and old) technologies, it is vulnerable to exploits. Of course if this were to stop you, you may as well give up on the web altogether.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Accessibility&lt;/b&gt; &lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;As we've seen before with new technologies, &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; can sometimes be lacking when it comes to meeting certain accessibility standards.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Search Engine Optimization&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;It seems these days that the Internet is only about two things, one of which I can't mention here in this article. The other of course is SEO. Since &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; loads content after the page loads sometimes, there aren't always good ways to optimize your site so that spiders can crawl it. That isn't to say you can't, but just be aware of the issues and educate yourself.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Weirdness&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;&lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; is an evolving technique and as such certain behaviors can occur that you may not expect. It can also be argued that users who are used to traditional web pages might find a page that acts more like an application more difficult to comprehend.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;-&lt;b&gt;Timeliness&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Even though &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; should typically speed up your web page, it ultimately is dependent upon the same hardware as other web technologies and thus is subject to the same problems as normal web pages. If a server is experiencing difficulties, it won't matter what you are programming your site with.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Well that is all the time we have for this article. In our next episode we will begin learning the basics of &lt;st1:city&gt;&lt;st1:place&gt;Ajax&lt;/st1:place&gt;&lt;/st1:City&gt; and how to work with the XMLHttp Request Object. In the meantime you may wish to brush up on your HTML and JavaScript.&lt;/p&gt;  &lt;p class="western" style="margin-bottom: 0.0001pt;"&gt;Till then...&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="txtplain1"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="background: rgb(238, 238, 238) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" border="0" cellpadding="0" cellspacing="3" width="100%"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0in;"&gt;   &lt;p class="MsoNormal"&gt;&lt;b&gt;DISCLAIMER:&lt;/b&gt; The content provided in this article is   not warranted or guaranteed by Developer Shed, Inc. The content provided is   intended for entertainment and/or educational purposes in order to introduce   to the reader key ideas, concepts, and/or product reviews. As such it is   incumbent upon the reader to employ real-world tactics for security and   implementation of best practices. We are not liable for any negative   consequences that may result from implementing any information covered in our   articles or tutorials. If this is a hardware review, it is not recommended to   open and/or modify your hardware.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-1432656924875091545?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/1432656924875091545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=1432656924875091545' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/1432656924875091545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/1432656924875091545'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/08/beginning-ajax.html' title='Beginning Ajax'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-2232637744859462455</id><published>2008-07-28T12:59:00.000-07:00</published><updated>2008-07-28T13:37:50.978-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='database migration'/><category scheme='http://www.blogger.com/atom/ns#' term='mySQL'/><title type='text'>Tranfer all MySQL databases to another server</title><content type='html'>I have managed migrate all of my MySQL databases from one server to another. This was a one time only operation, so setting up replication wasn't an option. And restoring a backup on the new server involved more downtime than strictly necessary. I figured the most ideal way would be to dump the active MySQL directly into the new MySQL instance. And that's what I did.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Features&lt;/span&gt;&lt;br /&gt;* This often beats setting up replication if you want a quick &amp;amp; dirty solution.&lt;br /&gt;&lt;br /&gt;* Extremely fast because it injects the MySQL dump directly into the new MySQL database, hence it does not use additional diskspace or disk IO.&lt;br /&gt;&lt;br /&gt;* InnoDB proof.&lt;br /&gt;&lt;br /&gt;* By putting everything in one script we can instantly create snapshots with recent data. This allows you to focus on other issues that might pop up during a database migration.&lt;br /&gt;&lt;br /&gt;* And yes, you could schedule this script in the crontab and sync to a standby server for emergency failover. But consider replication or clustering instead.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Warning&lt;/span&gt;&lt;br /&gt;Be careful, this script will drop any existing database on the receiving side it encounters. USE AT OWN RISK! This is heavy material and you could seriously mess up your system if you don't know what you're doing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Script&lt;/span&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# where your mysql commands are&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CMD_MYSQL="/usr/bin/mysql"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CMD_MYSQLDUMP="/usr/bin/mysqldump"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# login credentials of the submitting side&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DB_USER_FROM="root"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DB_PASS_FROM="passxxx"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DB_HOST_FROM="source.example.com"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# login credentials of the receiving side&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DB_USER_TO="root"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DB_PASS_TO="passxxx"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DB_HOST_TO="destination.example.com"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# index all databases on the local (submitting) side&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo "database sync"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DATABASES=`echo "SHOW DATABASES;" | ${CMD_MYSQL} -p${DB_PASS_FROM} -u ${DB_USER_FROM} -h ${DB_HOST_FROM}`&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# loop over all the databases&lt;br /&gt;&lt;span style="font-style: italic;"&gt;for DATABASE in $DATABASES; do&lt;/span&gt;&lt;br /&gt;# skip non-databases&lt;br /&gt;&lt;span style="font-style: italic;"&gt;if [ "${DATABASE}" != "Database" ] &amp;amp;&amp;amp; [ "${DATABASE}" != "information_schema" ]; then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo "transmitting ${DATABASE}"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# create database on remote (receiving) side if it doesn't exist&lt;br /&gt;&lt;span style="font-style: italic;"&gt;echo "CREATE DATABASE IF NOT EXISTS ${DATABASE}" | ${CMD_MYSQL} -p${DB_PASS_TO} -u ${DB_USER_TO} -h ${DB_HOST_TO}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# dump the current database and pipe it directly to the remote (receiving) side to inject it&lt;br /&gt;&lt;span style="font-style: italic;"&gt;${CMD_MYSQLDUMP} -Q -B --create-options --delayed-insert --complete-insert --quote-names --add-drop-table -p${DB_PASS_FROM} -u${DB_USER_FROM} -h${DB_HOST_FROM} ${DATABASE} | ${CMD_MYSQL} -p${DB_PASS_TO} -u ${DB_USER_TO} -h ${DB_HOST_TO} ${DATABASE}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Save this script somewhere (I usually take the /root/bin dir for this) and Make it executable:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configure&lt;/span&gt;&lt;br /&gt;You need to change following variables to suit your environment:&lt;br /&gt;&lt;br /&gt;DB_USER_FROM="root"&lt;br /&gt;DB_PASS_FROM="passxxx"&lt;br /&gt;DB_HOST_FROM="source.example.com"&lt;br /&gt;&lt;br /&gt;DB_USER_TO="root"&lt;br /&gt;DB_PASS_TO="passxxx"&lt;br /&gt;DB_HOST_TO="destination।example.com"]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Now run the script (be sure read the warning above).&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-2232637744859462455?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/2232637744859462455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=2232637744859462455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/2232637744859462455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/2232637744859462455'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/07/tranfer-all-mysql-databases-to-another.html' title='Tranfer all MySQL databases to another server'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1197656249411910200.post-3762359872388574988</id><published>2008-07-28T04:21:00.000-07:00</published><updated>2008-07-28T04:48:04.816-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Run Commands'/><title type='text'>116 Run Commands</title><content type='html'>You may run some program/tools by typing directly in windows "Star &gt; Run" box. Commands are as follows-&lt;br /&gt;&lt;br /&gt;Commands:&lt;br /&gt;1. Accessibility Controls - access.cpl&lt;br /&gt;2. Accessibility Wizard - accwiz&lt;br /&gt;3. Add Hardware Wizard - hdwwiz.cpl&lt;br /&gt;4. Add/Remove Programs - appwiz.cpl&lt;br /&gt;5. Administrative Tools - control admintools&lt;br /&gt;6. Automatic Updates - wuaucpl.cpl&lt;br /&gt;7. Bluetooth Transfer Wizard - fsquirt&lt;br /&gt;8. Calculator - calc&lt;br /&gt;9. Certificate Manager - certmgr.msc&lt;br /&gt;10. Character Map - charmap&lt;br /&gt;11. Check Disk Utility - chkdsk&lt;br /&gt;12. Clipboard Viewer - clipbrd&lt;br /&gt;13. Command Prompt - cmd&lt;br /&gt;14. Component Services - dcomcnfg&lt;br /&gt;15. Computer Management - compmgmt.msc&lt;br /&gt;16. Control Panel - control&lt;br /&gt;17. Date and Time Properties - timedate.cpl&lt;br /&gt;18. DDE Shares - ddeshare&lt;br /&gt;19. Device Manager - devmgmt.msc&lt;br /&gt;20. Direct X Troubleshooter - dxdiag&lt;br /&gt;21. Disk Cleanup Utility - cleanmgr&lt;br /&gt;22. Disk Defragment - dfrg.msc&lt;br /&gt;23. Disk Management - diskmgmt.msc&lt;br /&gt;24. Disk Partition Manager - diskpart&lt;br /&gt;25. Display Properties - control desktop&lt;br /&gt;26. Display Properties - desk.cpl&lt;br /&gt;27. Dr. Watson System Troubleshooting Utility - drwtsn32&lt;br /&gt;28. Driver Verifier Utility - verifier&lt;br /&gt;29. Event Viewer - eventvwr.msc&lt;br /&gt;30. Files and Settings Transfer Tool - migwiz&lt;br /&gt;31. File Signature Verification Tool - sigverif&lt;br /&gt;32. Findfast - findfast.cpl&lt;br /&gt;33. Firefox - firefox&lt;br /&gt;34. Folders Properties - control folders&lt;br /&gt;35. Fonts - control fonts&lt;br /&gt;36. Fonts Folder - fonts&lt;br /&gt;37. Free Cell Card Game - freecell&lt;br /&gt;38. Game Controllers - joy.cpl&lt;br /&gt;39. Group Policy Editor (for xp professional) - gpedit.msc&lt;br /&gt;40. Hearts Card Game - mshearts&lt;br /&gt;41. Help and Support - helpctr&lt;br /&gt;42. HyperTerminal - hypertrm&lt;br /&gt;43. Iexpress Wizard - iexpress&lt;br /&gt;44. Indexing Service - ciadv.msc&lt;br /&gt;45. Internet Connection Wizard - icwconn1&lt;br /&gt;46. Internet Explorer - iexplore&lt;br /&gt;47. Internet Properties - inetcpl.cpl&lt;br /&gt;48. Keyboard Properties - control keyboard&lt;br /&gt;49. Local Security Settings - secpol.msc&lt;br /&gt;50. Local Users and Groups - lusrmgr.msc&lt;br /&gt;51. Logs You Out Of Windows - logoff&lt;br /&gt;52. Malicious Software Removal Tool - mrt&lt;br /&gt;53. Microsoft Chat - winchat&lt;br /&gt;54. Microsoft Movie Maker - moviemk&lt;br /&gt;55. Microsoft Paint - mspaint&lt;br /&gt;56. Microsoft Syncronization Tool - mobsync&lt;br /&gt;57. Minesweeper Game - winmine&lt;br /&gt;58. Mouse Properties - control mouse&lt;br /&gt;59. Mouse Properties - main.cpl&lt;br /&gt;60. Netmeeting - conf&lt;br /&gt;61. Network Connections - control netconnections&lt;br /&gt;62. Network Connections - ncpa.cpl&lt;br /&gt;63. Network Setup Wizard - netsetup.cpl&lt;br /&gt;64. Notepad - notepad&lt;br /&gt;65. Object Packager - packager&lt;br /&gt;66. ODBC Data Source Administrator - odbccp32.cpl&lt;br /&gt;67. On Screen Keyboard - osk&lt;br /&gt;68. Outlook Express - msimn&lt;br /&gt;69. Paint - pbrush&lt;br /&gt;70. Password Properties - password.cpl&lt;br /&gt;71. Performance Monitor - perfmon.msc&lt;br /&gt;72. Performance Monitor - perfmon&lt;br /&gt;73. Phone and Modem Options - telephon.cpl&lt;br /&gt;74. Phone Dialer - dialer&lt;br /&gt;75. Pinball Game - pinball&lt;br /&gt;76. Power Configuration - powercfg.cpl&lt;br /&gt;77. Printers and Faxes - control printers&lt;br /&gt;78. Printers Folder - printers&lt;br /&gt;79. Regional Settings - intl.cpl&lt;br /&gt;80. Registry Editor - regedit&lt;br /&gt;81. Registry Editor - regedit32&lt;br /&gt;82. Remote Access Phonebook - rasphone&lt;br /&gt;83. Remote Desktop - mstsc&lt;br /&gt;84. Removable Storage - ntmsmgr.msc&lt;br /&gt;85. Removable Storage Operator Requests - ntmsoprq.msc&lt;br /&gt;86. Resultant Set of Policy (for xp professional) - rsop.msc&lt;br /&gt;87. Scanners and Cameras - sticpl.cpl&lt;br /&gt;88. Scheduled Tasks - control schedtasks&lt;br /&gt;89. Security Center - wscui.cpl&lt;br /&gt;90. Services - services.msc&lt;br /&gt;91. Shared Folders - fsmgmt.msc&lt;br /&gt;92. Shuts Down Windows - shutdown&lt;br /&gt;93. Sounds and Audio - mmsys.cpl&lt;br /&gt;94. Spider Solitare Card Game - spider&lt;br /&gt;95. SQL Client Configuration - cliconfg&lt;br /&gt;96. System Configuration Editor - sysedit&lt;br /&gt;97. System Configuration Utility - msconfig&lt;br /&gt;98. System Information - msinfo32&lt;br /&gt;99. System Properties - sysdm.cpl&lt;br /&gt;100. Task Manager - taskmgr&lt;br /&gt;101. TCP Tester - tcptest&lt;br /&gt;102. Telnet Client - telnet&lt;br /&gt;103. User Account Management - nusrmgr.cpl&lt;br /&gt;104. Utility Manager - utilman&lt;br /&gt;105. Windows Address Book - wab&lt;br /&gt;106. Windows Address Book Import Utility - wabmig&lt;br /&gt;107. Windows Explorer - explorer&lt;br /&gt;108. Windows Firewall - firewall.cpl&lt;br /&gt;109. Windows Magnifier - magnify&lt;br /&gt;110. Windows Management Infrastructure - wmimgmt.msc&lt;br /&gt;111. Windows Media Player - wmplayer&lt;br /&gt;112. Windows Messenger - msmsgs&lt;br /&gt;113. Windows System Security Tool - syskey&lt;br /&gt;114. Windows Update Launches - wupdmgr&lt;br /&gt;115. Windows Version - winver&lt;br /&gt;116. Wordpad - write&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1197656249411910200-3762359872388574988?l=teknobuzz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://teknobuzz.blogspot.com/feeds/3762359872388574988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1197656249411910200&amp;postID=3762359872388574988' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/3762359872388574988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1197656249411910200/posts/default/3762359872388574988'/><link rel='alternate' type='text/html' href='http://teknobuzz.blogspot.com/2008/07/116-run-commands.html' title='116 Run Commands'/><author><name>coolheader</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
