<?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>Serabe Reloaded &#187; rmagick</title>
	<atom:link href="http://www.serabe.com/tag/rmagick/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.serabe.com</link>
	<description>Conecto ergo sum. Non conecto ergo urgueo.</description>
	<lastBuildDate>Sun, 09 Oct 2011 21:30:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RMagick4J 0.3.6</title>
		<link>http://www.serabe.com/2008/08/16/rmagick4j-036/</link>
		<comments>http://www.serabe.com/2008/08/16/rmagick4j-036/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 23:03:38 +0000</pubDate>
		<dc:creator>Serabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rmagick]]></category>
		<category><![CDATA[rmagick4j]]></category>

		<guid isPermaLink="false">http://www.serabe.com/?p=228</guid>
		<description><![CDATA[I am glad to announce a new version of rmagick4j. RMagick4J aims to implement the ImageMagick funcionality and the C portions of RMagick for make it works in JRuby. Current stable version: 0.3.6 Project URL: http://code.google.com/p/rmagick4j/ Installation: gem install rmagick4j Google Summer of Code project should be thanked for making this new release possible. In [...]]]></description>
			<content:encoded><![CDATA[<p>I am glad to announce a new version of rmagick4j.</p>
<p>RMagick4J aims to implement the ImageMagick funcionality and the C<br />
portions of RMagick for make it works in JRuby.</p>
<p>Current stable version: 0.3.6<br />
Project URL: <a rel="nofollow" href="http://code.google.com/p/rmagick4j/" >http://code.google.com/p/rmagick4j/</a><br />
Installation: <code>gem install rmagick4j</code></p>
<p>Google Summer of Code project should be thanked for making this new<br />
release possible.</p>
<p>In release 0.3.6 you can find the next improvements:</p>
<ul>
<li>More Draw primitives (clip-path [creatin a clip-path and using a<br />
clip-path], fill-rule, rotate, scale [reimplemented], skewX, slewY,<br />
stroke-linecap, stroke-linejoin, stroke-miterlimit, translate).</li>
<li>Solve a bug with transparent stroke and line primitive.</li>
<li> Added the following Draw instance methods:</li>
<ul>
<li>annotate</li>
<li>get_multiline_type_metrics</li>
</ul>
<li>Solved a bug that caused the background become black while resizing<br />
images with alpha channel.</li>
</ul>
<p>Please try out your applications with rmagick4j and help us provide<br />
feedback.  It is our goal to make a fully-compatible implementation of<br />
RMagick4j in JRuby.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'RMagick4J 0.3.6 on Serabe Reloaded',url: 'http://www.serabe.com/2008/08/16/rmagick4j-036/',contentID: 'post-228',suggestTags: 'jruby,Programming,programming,rmagick,rmagick4j,Ruby',providerName: 'Serabe Reloaded',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" title="RMagick4J 0.3.6" alt="article clipper RMagick4J 0.3.6" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.serabe.com%2F2008%2F08%2F16%2Frmagick4j-036%2F&amp;title=RMagick4J%200.3.6" id="wpa2a_2"><img src="http://www.serabe.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="share save 171 16 RMagick4J 0.3.6"  title="RMagick4J 0.3.6" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.serabe.com/2008/08/16/rmagick4j-036/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RMagick: Dibujar con patrones</title>
		<link>http://www.serabe.com/2008/07/22/rmagick-dibujar-con-patrones/</link>
		<comments>http://www.serabe.com/2008/07/22/rmagick-dibujar-con-patrones/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 22:16:30 +0000</pubDate>
		<dc:creator>Serabe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rmagick]]></category>

		<guid isPermaLink="false">http://www.serabe.com/?p=218</guid>
		<description><![CDATA[Una interesante cualidad de la clase Draw de RMagick es la posibilidad de definir patrones a travÃ©s del mÃ©todo pattern. En primer lugar, lo bÃ¡sico: PLAIN TEXT RUBY: require 'rubygems' require 'RMagick' &#160; include Magick Ahora definamos el patrÃ³n. Para ello, necesitamos cinco parÃ¡metros, el nombre, dos nÃºmeros que recomiendo ponerlos a cero (despuÃ©s de [...]]]></description>
			<content:encoded><![CDATA[<p>Una interesante cualidad de la clase Draw de RMagick es la posibilidad de definir patrones a travÃ©s del mÃ©todo <a href="http://www.imagemagick.org/RMagick/doc/draw.html#pattern" >pattern</a>.</p>
<p>En primer lugar, lo bÃ¡sico:</p>
<div class="igBar"><span id="lruby-4"><a href="#" onclick="javascript:showPlainTxt('ruby-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-4">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0066; font-weight:bold;">require</span> 'rubygems'</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0066; font-weight:bold;">require</span> 'RMagick'</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">include</span> Magick </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ahora definamos el patrÃ³n. Para ello, necesitamos cinco parÃ¡metros, el nombre, dos nÃºmeros que recomiendo ponerlos a cero (despuÃ©s de unas cuantas pruebas, no he notado diferencias notables) y despuÃ©s las dimensiones del patrÃ³n.</p>
<div class="igBar"><span id="lruby-5"><a href="#" onclick="javascript:showPlainTxt('ruby-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-5">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw = Draw.<span style="color:#9900CC;">new</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw.<span style="color:#9900CC;">pattern</span><span style="color:#006600; font-weight:bold;">&#40;</span>'circles', <span style="color:#006666;color:#800000;">0</span>, <span style="color:#006666;color:#800000;">0</span>, <span style="color:#006666;color:#800000;">10</span>, <span style="color:#006666;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; draw.<span style="color:#9900CC;">stroke</span> 'none'</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; draw.<span style="color:#9900CC;">fill</span> 'red'</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; draw.<span style="color:#9900CC;">rectangle</span> <span style="color:#006666;color:#800000;">0</span>, <span style="color:#006666;color:#800000;">0</span>, <span style="color:#006666;color:#800000;">10</span>, <span style="color:#006666;color:#800000;">10</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; draw.<span style="color:#9900CC;">stroke</span> 'LightGreen'</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; draw.<span style="color:#9900CC;">fill</span> 'blue'</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; draw.<span style="color:#9900CC;">circle</span> <span style="color:#006666;color:#800000;">5</span>, <span style="color:#006666;color:#800000;">5</span>, <span style="color:#006666;color:#800000;">5</span>, <span style="color:#006666;color:#800000;">0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">end</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ya, por Ãºltimo, dibujamos un cuadrado y lo plasmamos en una imagen de 300x300.</p>
<div class="igBar"><span id="lruby-6"><a href="#" onclick="javascript:showPlainTxt('ruby-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-6">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw.<span style="color:#9900CC;">stroke</span> 'circles'</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw.<span style="color:#9900CC;">stroke_width</span> <span style="color:#006666;color:#800000;">25</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw.<span style="color:#9900CC;">fill</span> 'none'</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw.<span style="color:#9900CC;">polygon</span> <span style="color:#006666;color:#800000;">150</span>,<span style="color:#006666;color:#800000;">0</span>, <span style="color:#006666;color:#800000;">300</span>,<span style="color:#006666;color:#800000;">150</span>, <span style="color:#006666;color:#800000;">150</span>,<span style="color:#006666;color:#800000;">300</span>, <span style="color:#006666;color:#800000;">0</span>,<span style="color:#006666;color:#800000;">150</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">img = Image.<span style="color:#9900CC;">new</span> <span style="color:#006666;color:#800000;">300</span>, <span style="color:#006666;color:#800000;">300</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">draw.<span style="color:#9900CC;">draw</span> img</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">img.<span style="color:#9900CC;">write</span> 'pattern.<span style="color:#9900CC;">jpg</span>' </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>ObteniÃ©ndose el siguiente resultado:</p>
<div id="attachment_221" class="wp-caption alignnone" style="width: 310px"><a href="http://www.serabe.com/wp-content/uploads/2008/07/pattern.jpg" ><img src="http://www.serabe.com/wp-content/uploads/2008/07/pattern.jpg" alt="pattern RMagick: Dibujar con patrones" title="Dibujando con patrÃ³n." width="300" height="300" class="size-medium wp-image-221" /></a><p class="wp-caption-text">Dibujo con patrÃ³n como brocha</p></div>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'RMagick: Dibujar con patrones on Serabe Reloaded',url: 'http://www.serabe.com/2008/07/22/rmagick-dibujar-con-patrones/',contentID: 'post-218',suggestTags: 'Programming,programming,rmagick,Ruby',providerName: 'Serabe Reloaded',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper.png" class="evernoteSiteMemoryButton" title="RMagick: Dibujar con patrones" alt="article clipper RMagick: Dibujar con patrones" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.serabe.com%2F2008%2F07%2F22%2Frmagick-dibujar-con-patrones%2F&amp;title=RMagick%3A%20Dibujar%20con%20patrones" id="wpa2a_4"><img src="http://www.serabe.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="share save 171 16 RMagick: Dibujar con patrones"  title="RMagick: Dibujar con patrones" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.serabe.com/2008/07/22/rmagick-dibujar-con-patrones/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

