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

<channel>
	<title>Talk Unafraid &#187; plugin</title>
	<atom:link href="http://www.talkunafraid.co.uk/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.talkunafraid.co.uk</link>
	<description>The (occasionally coherent) ramblings of a geek</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>EVE Corporation Logo Generator</title>
		<link>http://www.talkunafraid.co.uk/2008/12/eve-corporation-logo-generator/</link>
		<comments>http://www.talkunafraid.co.uk/2008/12/eve-corporation-logo-generator/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 16:57:49 +0000</pubDate>
		<dc:creator>James Harrison</dc:creator>
				<category><![CDATA[Awesome Stuff]]></category>
		<category><![CDATA[Code Snippets and Examples]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[corporation]]></category>
		<category><![CDATA[EVE]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rmagick]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.talkunafraid.co.uk/?p=83</guid>
		<description><![CDATA[I figured it was high time something was done about the lack of such a tool- a tool to generate the icons for corporations in EVE Online, which are constructed from three pictures with their related shaders, given the data from the API corporation sheet. So here it is. With many thanks to Entity for [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_81" class="wp-caption alignright" style="width: 74px"><a href="http://assets.talkunafraid.co.uk/2008/12/test2.png" rel="lightbox[83]"><img class="size-full wp-image-81" title="Corp Logo on White Background" src="http://assets.talkunafraid.co.uk/2008/12/test2.png" alt="VAF Logo ftw!" width="64" height="64" /></a><p class="wp-caption-text">VAF Logo ftw!</p></div>
<p>I figured it was high time something was done about the lack of such a tool- a tool to generate the icons for corporations in EVE Online, which are constructed from three pictures with their related shaders, given the data from the API corporation sheet. So here it is. With many thanks to Entity for doing the hard work getting the image data out of EVE and working out the finer details of EVE&#8217;s image formatting.</p>
<p><em>Really can&#8217;t be bothered to host your own? Take a look at my freely available <a href="http://www.talkunafraid.co.uk/2008/12/corporation-logo-server/">corporation logo generator server</a>, which uses this library to provide corporation logos for those of a less technical nature!</em></p>
<p>This is a pure-Ruby library with a bundle of prerendered corporation image components, which are combined at runtime to display the image. It is recommended that you cache corporation logos generated with this plugin.</p>
<div id="attachment_82" class="wp-caption alignleft" style="width: 74px"><a href="http://assets.talkunafraid.co.uk/2008/12/test_transparency.png" rel="lightbox[83]"><img class="size-full wp-image-82" title="Transparent Logos" src="http://assets.talkunafraid.co.uk/2008/12/test_transparency.png" alt="Transparent Logos are also supported" width="64" height="64" /></a><p class="wp-caption-text">Transparent Logos are also supported</p></div>
<p><a href="http://github.com/JamesHarrison/eve_corplogo_generator/tree/master">Browse source/Download (Github)</a></p>
<p>While it&#8217;s designed as a Rails plugin it should work equally well as a standalone pure-Ruby plugin. The only dependency is on RMagick, a Ruby interface to ImageMagick. The library is hosted on Github, so you&#8217;ll need git to grab it, or you can hit the download link on Github to grab a tarball or zip.</p>
<p>Usage is as simple as the following:</p>
<div class="geshi no ruby">
<div class="head">require &#39;eve_corplogo_generator&#39;</div>
<ol>
<li class="li1">
<div class="de1"><span class="re2">Eve::CorporateLogo::Logo</span>.<span class="me1">new</span><span class="br0">&#40;</span><span class="br0">&#91;</span><span class="nu0">437</span>,<span class="nu0">456</span>,<span class="nu0">478</span><span class="br0">&#93;</span>, <span class="br0">&#91;</span><span class="nu0">674</span>,<span class="nu0">677</span>,<span class="nu0">677</span><span class="br0">&#93;</span>, <span class="st0">&#39;output.png&#39;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1"># Optional fourth parameter is a colour name to use as the background.</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1"># Third parameter is optional- blob data can be grabbed using .image.to_blob</span></div>
</li>
</ol>
</div>
<p>If you use this and want to say thanks, please do so with ISK- both to Entity and Ix Forres. As far as I know there should be no legal issues with this, other than to give CCP credit as with all ingame assets used out of game. And, of course, many thanks to CCP for adding the data needed into the API. If you really must, the Python version by Entity is over <a href="http://myeve.eve-online.com/ingameboard.asp?a=topic&amp;threadID=942719">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.talkunafraid.co.uk/2008/12/eve-corporation-logo-generator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

