<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.nginx.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.nginx.org/index.php?title=HttpCircleGifModule&amp;feed=atom&amp;action=history</id>
		<title>HttpCircleGifModule - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.nginx.org/index.php?title=HttpCircleGifModule&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=HttpCircleGifModule&amp;action=history"/>
		<updated>2013-05-21T04:01:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://wiki.nginx.org/index.php?title=HttpCircleGifModule&amp;diff=141&amp;oldid=prev</id>
		<title>Jbyers: correct Evan Miller's domain</title>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=HttpCircleGifModule&amp;diff=141&amp;oldid=prev"/>
				<updated>2010-11-10T23:08:25Z</updated>
		
		<summary type="html">&lt;p&gt;correct Evan Miller&amp;#039;s domain&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= ngx_http_circle_gif_module =&lt;br /&gt;
&lt;br /&gt;
''Note: this module is not distributed with the Nginx source. Installation instructions are [[#Installation|below]].''&lt;br /&gt;
&lt;br /&gt;
The ngx_http_circle_gif_module generates simple circle images with the colors and size specified in the URL. The images are served quickly, much faster than if they had been read from disk. The module was made to help web designers change the colors of their &amp;quot;round corners&amp;quot; without having to fire up PhotoShop. &lt;br /&gt;
&lt;br /&gt;
Example usage:&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
location /circles {&lt;br /&gt;
    circle_gif;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Directives =&lt;br /&gt;
&lt;br /&gt;
== circle_gif ==&lt;br /&gt;
'''syntax:''' ''circle_gif''&lt;br /&gt;
&lt;br /&gt;
'''default:''' ''n/a''&lt;br /&gt;
&lt;br /&gt;
'''context:''' ''location''&lt;br /&gt;
&lt;br /&gt;
== circle_gif_min_radius ==&lt;br /&gt;
'''syntax:''' ''circle_min_radius''&lt;br /&gt;
&lt;br /&gt;
'''default:''' ''10''&lt;br /&gt;
&lt;br /&gt;
'''context:''' ''location''&lt;br /&gt;
&lt;br /&gt;
The minimum radius of generated circle images, in pixels.&lt;br /&gt;
&lt;br /&gt;
== circle_gif_max_radius ==&lt;br /&gt;
'''syntax:''' ''circle_max_radius''&lt;br /&gt;
&lt;br /&gt;
'''default:''' ''20''&lt;br /&gt;
&lt;br /&gt;
'''context:''' ''location''&lt;br /&gt;
&lt;br /&gt;
The maximum radius of generated circle images, in pixels.&lt;br /&gt;
&lt;br /&gt;
== circle_gif_step_radius ==&lt;br /&gt;
'''syntax:''' ''circle_step_radius''&lt;br /&gt;
&lt;br /&gt;
'''default:''' ''2''&lt;br /&gt;
&lt;br /&gt;
'''context:''' ''location''&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;step&amp;quot; in between generated circle images, in pixels.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To retrieve a circle image, just call a URL in the location you specified that ends like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;background color&amp;gt;/&amp;lt;foreground color&amp;gt;/&amp;lt;radius&amp;gt;.gif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where ''radius'' is the radius in pixels, and the colors are 24-bit hex colors (e.g., &amp;quot;ffffff&amp;quot; is white and &amp;quot;000000&amp;quot; is black). For example, with the configuration above, this URL would produce a black on white circle with a radius of 20 pixels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/circles/ffffff/000000/20.gif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
You first need the ImageMagick development headers.&lt;br /&gt;
&lt;br /&gt;
This module is not distributed with the Nginx source. You can download the circle_gif module here: [http://wiki.nginx.org/File:Nginx_circle_gif-0.1.3.tar.gz] &lt;br /&gt;
&lt;br /&gt;
After extracting, add the following option to your Nginx &amp;lt;code&amp;gt;./configure&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--add-module=path/to/circle_gif/directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then &amp;quot;make&amp;quot; and &amp;quot;make install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
= Bugs =&lt;br /&gt;
&lt;br /&gt;
Please report bugs to [http://evanmiller.org Evan Miller].&lt;/div&gt;</summary>
		<author><name>Jbyers</name></author>	</entry>

	</feed>