<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.1.3" -->
<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/"
>

<channel>
	<title>electroduendes.com</title>
	<link>http://www.electroduendes.com/blog</link>
	<description>cuaderno de bitácoras de un desarrollador interactivo</description>
	<pubDate>Thu, 07 Feb 2008 08:14:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1.3</generator>
	<language>en</language>

		<item>
		<title>Nueva página - alexsanchez.info</title>
		<link>http://www.electroduendes.com/blog/nueva-pagina-alexsanchezinfo/</link>
		<comments>http://www.electroduendes.com/blog/nueva-pagina-alexsanchezinfo/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 15:35:42 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Personal</category>
		<guid>http://www.electroduendes.com/blog/nueva-pagina-alexsanchezinfo/</guid>
		<description><![CDATA[	Hace poco compré un dominio, alexsanchez.info, donde últimamente he estado escribiendo, con la idea de ofrecer allí un escaparate de mis trabajos, y vía de contacto para mis negocios, compuesto de una bitácora estrictamente profesional y un portfolio experimental. Pensaba entonces, redirigir todos los post de código y experimentos de este blog al nuevo, y [...]]]></description>
			<content:encoded><![CDATA[	<p>Hace poco compré un dominio, <a href="http://www.alexsanchez.info">alexsanchez.info</a>, donde últimamente he estado escribiendo, con la idea de ofrecer allí un escaparate de mis trabajos, y vía de contacto para mis negocios, compuesto de una bitácora estrictamente profesional y un portfolio experimental. Pensaba entonces, redirigir todos los post de código y experimentos de este blog al nuevo, y separar un poco, y de paso, la parte profesional de la parte de ocio o personal en  mis entradas. </p>
	<p>La razón es que últimamente este blog era un popurrí de temas muy personales, entradas &#8220;ociosas&#8221; y paridas y entradas muy técnicas acerca de mis trabajos como profesional de Internet. Lo había orientado más como un blog al uso, para mis amigos y colegas de profesión y no como un escaparate para mí. Pero cuando captaba algún cliente, o me presentaba en alguna empresa, me daba bastante apuro pasarle el enlace al blog, puesto que había ciertos aspectos del mismo que no me apetecía mostrar a clientes, y sin embargo, había otro tipo de entradas muy interesantes para ellos.</p>
	<p>¿vosotros qué opináis? Agradeceré mucho vuestras opiniones, queridos lectores. Por cierto, ya funcionan los comentarios. ^_^</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/nueva-pagina-alexsanchezinfo/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>intenneeeee</title>
		<link>http://www.electroduendes.com/blog/intenneeeee/</link>
		<comments>http://www.electroduendes.com/blog/intenneeeee/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 21:41:03 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Personal</category>
		<guid>http://www.electroduendes.com/blog/intenneeeee/</guid>
		<description><![CDATA[	Me he mudado de casa, y por desgracia he tenido que estar sin internet unos días como el pobre Enjuto. Menos mal que ya vuelvo a tener&#8230;
	



]]></description>
			<content:encoded><![CDATA[	<p>Me he mudado de casa, y por desgracia he tenido que estar sin internet unos días como el pobre <a href="http://es.youtube.com/watch?v=2OBZHB5I89A">Enjuto</a>. Menos mal que ya vuelvo a tener&#8230;</p>
	<p><object width="425" height="355"><br />
<param name="movie" value="http://www.youtube.com/v/2OBZHB5I89A&#038;rel=1"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/2OBZHB5I89A&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/intenneeeee/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Vendo Monitor CRT 19 pulgadas</title>
		<link>http://www.electroduendes.com/blog/vendo-monitor-crt-19-pulgadas/</link>
		<comments>http://www.electroduendes.com/blog/vendo-monitor-crt-19-pulgadas/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 14:57:55 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Personal</category>
		<guid>http://www.electroduendes.com/blog/vendo-monitor-crt-19-pulgadas/</guid>
		<description><![CDATA[	Pues eso, que tengo publicada una subasta en eBay de mi monitor de 19 pulgadas Hitachi.
Está impecable, tiene 4 años y no me ha dado nunca ningun problema. Me costó en su día 400€. Os pongo el enlace por si estáis interesados en pujar por él. El precio de salida de la subasta es 30€.
	Monitor [...]]]></description>
			<content:encoded><![CDATA[	<p>Pues eso, que tengo publicada una subasta en eBay de mi monitor de 19 pulgadas Hitachi.<br />
Está impecable, tiene 4 años y no me ha dado nunca ningun problema. Me costó en su día 400€. Os pongo el enlace por si estáis interesados en pujar por él. El precio de salida de la subasta es 30€.</p>
	<p><a href="http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#038;rd=1&#038;item=290159609399&#038;ssPageName=STRK:MESE:IT&#038;ih=019">Monitor 19 pulgadas, barato, barato</a></p>
	<p>También tengo una tarjeta de memoria Compact Flash de 512Mb, con un precio de salida de 5€</p>
	<p><a href="http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#038;rd=1&#038;item=290159615615&#038;ssPageName=STRK:MESE:IT&#038;ih=019">La tarjeta de memoria, que me la quitan de las manos, que me la quitan de las manos&#8230;</a></p>
	<p>Que me lo quitan de las manos!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/vendo-monitor-crt-19-pulgadas/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Luchando contra el fenómeno HOYGAN</title>
		<link>http://www.electroduendes.com/blog/luchando-contra-el-fenomeno-hoygan/</link>
		<comments>http://www.electroduendes.com/blog/luchando-contra-el-fenomeno-hoygan/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 17:51:23 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Redes Sociales</category>
		<guid>http://www.electroduendes.com/blog/luchando-contra-el-fenomeno-hoygan/</guid>
		<description><![CDATA[	Hace tiempo, un compañero de trabajo me comentó que le encantaba participar en foros y escribir correos, porque había recuperado el hábito de escritura. Además le servía para aprender a expresarse correctamente y le ayudaba a reflexionar sobre lo que estaba escribiendo&#8230;
	Los sitios web están plagados de comentarios. A veces son más interesantes incluso que [...]]]></description>
			<content:encoded><![CDATA[	<p>Hace tiempo, un compañero de trabajo me comentó que le encantaba participar en foros y escribir correos, porque había recuperado el hábito de escritura. Además le servía para aprender a expresarse correctamente y le ayudaba a reflexionar sobre lo que estaba escribiendo&#8230;</p>
	<p>Los sitios web están plagados de comentarios. A veces son más interesantes incluso que las noticias. En los foros, los comentarios lo son todo, en realidad, un foro se puede entender como un sitio de comentarios organizados. Soy un asiduo visitante de los foros, de muy diferente índole. Motor, tecnología, economía, política&#8230; &#8220;le meto&#8221; a todos.</p>
	<p>En ellos puedo encontrar cierta información que tarda tiempo en ser publicada, u opiniones muy específicas sobre muy diversos temas que sólo puedo encontrar en ellos.</p>
	<p>En un foro, es fácil encontrar lo que busco, la información está bien categorizada, y existen potentes buscadores que me permiten encontrar hilos con temática similar a la que busco.<br />
Peero&#8230;en contrapartida, un foro es abierto, y no todas las opiniones tienen el mismo interés. Generalmente, alguien formula una pregunta, y varias personas ofrecen un amplio abanico de respuestas.  Y pasa lo de siempre:</p>
	<p>Hay grandes expertos en la materia, personas que hacen buen uso de la palabra, utilizando frases no demasiado extensas, mediante un lenguaje llano y fácil de leer, usando adecuadamente los puntos y aparte, las comas, el punto y coma, evitando en gran medida faltas de ortografía &#8230;Vamos, sin pretender ser un pedante del bolígrafo, pero escribiendo de manera que se facilite la lectura. </p>
	<p>Y hay  otros que en vez de escribir, parece que rebuznan. Párrafos enormes sin un solo punto y aparte, &#8220;penalties ortográficos&#8221;, la maldita costumbre de escribir con &#8220;k&#8221; en vez de &#8220;q&#8221;&#8230; realmente leer este tipo de comentarios se me hace complicado. ¡es cansino y dificulta la comunicación y comprensión! Hasta se ha acuñado un término para ellos. Los temidos <a href="http://www.hoygan.info/">HOYGAN</a>.</p>
	<p>Bueno, pues últimamente me sucede que, navegando por foros, si encuentro un mensaje con síntomas de haber sido escrito por un &#8220;HOYGANERO&#8221;, directamente paso al siguiente mensaje, porque sé a ciencia cierta que el comentario va a tener nula o poca importancia. </p>
	<p>Bueno pues hoy he encontrado alguien que ha implementado un <a href="http://www.nopuedocreer.com/quelohayaninventado/3670/sistema-anti-hoygan/">sistema anti-HOYGAN</a>. La gente de nopuedocreer.com, no permite la publicación en su blog, de comentarios que porten palabras potencialmente &#8220;hoyganeras&#8221;, tales como “hoygan”, “hoigan”, “plis”, “weno”, “grasias”, “fabor”&#8230;. </p>
	<p>La idea es bastante interesante. Lo  que no entiendo es como nadie le ha sacado partido a este problema antes: si <strong>Akismet</strong>ha abierto nicho en el tratamiento del spam para los comentarios, está más que cantado que poco nos queda para los <strong>servicios de corrección ortográfica de comentarios</strong> en sitios web. </p>
	<p>Pero es una evolución que debería avanzar con cuidado, ya que puede convertirse en una táctica que quizá coarte la evolución del lenguaje:  si estoy imitando a un cateto, escribiré &#8220;fabor&#8221; encerrado entre comillas, y por ello mi comentario no debería ser rechazado. También si utilizo &#8220;jerga&#8221; en mi lenguaje, no debería estar obligado a corregirlo. Además, el lenguaje evoluciona y prueba de ello son la gran cantidad de palabras aceptadas por la RAE que provienen del lenguaje de la calle. Por ejemplo, &#8220;cocreta&#8221; ya está aceptada por el diccionario: muchas de las palabras del Castellano que ahora pueden denominarse &#8220;cultismos&#8221;, siglos atrás formaban parte de la jerga del populacho.</p>
	<p>Pensando en mi propio comportamiento (omitir los mensajes con gran cantidad de faltas de ortografía), y en base a la implementación que han realizado la gente de nopuedocreer.com, se me ha ocurrido, que sería muy útil portar dicha idea para un sistema de relevancia de mensajes automatizado en base al número de faltas de ortografía que porte el mensaje. Actuaría de forma conjunta con el sistema de votación participativo, que ya podemos ver en youtube o menéame, por el cual la gente puede promocionar los comentarios positivos y penalizar los irrelevantes. </p>
	<p>Imaginemos que alguien escribe un mensaje, y supongamos que comete no más de 5 faltas de ortografía en 2 ó 3 párrafos. Bien pues esa persona recibirá un peso mayor en las búsquedas de los foros, y su comentario aparecerá en texto más grande. Lo contrario pasaría con el hoyganero. en función de sus faltas de ortografía, se podría dar menos relevancia a su comentario.</p>
	<p>La necesidad está creada, y las herramientas comienzan a desarrollarse. ¿Conseguiremos minimizar el problema sin coartar el lenguaje?&#8230; próximamente en nuestras bitácoras.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/luchando-contra-el-fenomeno-hoygan/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Procesado de imágenes en Java II</title>
		<link>http://www.electroduendes.com/blog/procesado-de-imagenes-en-java-ii/</link>
		<comments>http://www.electroduendes.com/blog/procesado-de-imagenes-en-java-ii/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 10:28:00 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Java</category>
		<guid>http://www.electroduendes.com/blog/procesado-de-imagenes-en-java-ii/</guid>
		<description><![CDATA[	Javier Murillo me manda una mejora para la clase ImageUtils que publiqué en la entrada procesado de imágenes en Java. Es una alegría saber que otros desarrolladores trabajen con el código que publico, y que, como en este caso, se interesan por mejorarlo y reenviarlo. Gracias Javier!
	PLAIN TEXT
	JAVA:

	


package es.gaea.utils;

	
&#160;

	
import java.awt.RenderingHints;

	
import java.awt.geom.AffineTransform;

	
import java.awt.image.AffineTransformOp;

	
import java.awt.image.BufferedImage;

	
import java.io.File;

	
import java.io.IOException;

	
import [...]]]></description>
			<content:encoded><![CDATA[	<p>Javier Murillo me manda una mejora para la clase ImageUtils que publiqué en la entrada <a href="http://www.electroduendes.com/blog/procesado-de-imagenes-en-java/">procesado de imágenes en Java</a>. Es una alegría saber que otros desarrolladores trabajen con el código que publico, y que, como en este caso, se interesan por mejorarlo y reenviarlo. Gracias Javier!</p>
	<div class="igBar"><a href="javascript:showCodeTxt('java-2');">PLAIN TEXT</a></div>
	<div class="syntax_hilite"><span style="color:#000000; font-weight:bold;">JAVA:</span><br />
<div id="java-2">
	<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">package es.<span style="color: #006600;">gaea</span>.<span style="color: #006600;">utils</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; 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="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import java.awt.RenderingHints;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import java.awt.geom.AffineTransform;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import java.awt.image.AffineTransformOp;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import java.awt.image.BufferedImage;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import java.io.File;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import java.io.IOException;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import javax.imageio.ImageIO;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">import org.apache.log4j.Logger;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">/** Clase que implementa un procesador para imagenes y juguetear con ellas */</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> ProcesadorImagenes <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; 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="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Logger de la clase */</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #993333;">static</span> Logger logger = Logger.<span style="color: #006600;">getLogger</span><span style="color:#006600; font-weight:bold;">&#40;</span>ProcesadorImagenes.<span style="color: #006600;">class</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Opciones de renderizado para las imagenes */</span> </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">private</span> <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a> opciones = <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #000000; font-weight: bold;">null</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Constructor de la clase */</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> ProcesadorImagenes<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Cargo las opciones de renderizado que me apetezcan&nbsp; &nbsp;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_ANTIALIASING</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_ANTIALIAS_ON</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_ALPHA_INTERPOLATION</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_ALPHA_INTERPOLATION_QUALITY</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_DITHERING</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_DITHER_DISABLE</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_FRACTIONALMETRICS</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_FRACTIONALMETRICS_ON</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_INTERPOLATION</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_INTERPOLATION_NEAREST_NEIGHBOR</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_RENDERING</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_RENDER_QUALITY</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_STROKE_CONTROL</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_STROKE_NORMALIZE</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opciones.<span style="color: #006600;">put</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">KEY_TEXT_ANTIALIASING</span>, <a href="http://www.google.com/search?q=allinurl%3ARenderingHints+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RenderingHints</span></a>.<span style="color: #006600;">VALUE_TEXT_ANTIALIAS_ON</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Devuelve la lista de formatos disponibles a leer por ImageIO&nbsp; &nbsp; &nbsp; &nbsp; </span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return un array de strings con los mismos.&nbsp; </span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#93;</span> dameFormatosUsables<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> ImageIO.<span style="color: #006600;">getReaderFormatNames</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; 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="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Calcula el factor de escala minimo y en base a eso </span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * escala la imagen segun dicho factor.&nbsp;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @param nMaxWidth maximo tamaño para el ancho</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @param nMaxHeight nmaximo tamaño para el alto&nbsp; &nbsp; &nbsp; &nbsp; </span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @param imagen Imagen que vamos a escalar</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @return Devuelve la imagen escalada para poderla trastocar o null si hay error</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; */</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> escalarATamanyo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> imagen,</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #993333;">int</span> maximoAncho, <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #993333;">int</span> maximoAlto<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Comprobacion de parametros</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span>imagen == <span style="color: #000000; font-weight: bold;">null</span> || maximoAlto == <span style="color:#800000;">0</span> || maximoAncho == <span style="color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">null</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Capturo ancho y alto de la imagen </span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333;">int</span> anchoImagen = imagen.<span style="color: #006600;">getHeight</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333;">int</span> altoImagen = imagen.<span style="color: #006600;">getWidth</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; 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="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Calculo la relacion entre anchos y altos de la imagen</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333;">double</span> escalaX = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #993333;">double</span><span style="color:#006600; font-weight:bold;">&#41;</span>maximoAncho / <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #993333;">double</span><span style="color:#006600; font-weight:bold;">&#41;</span>anchoImagen;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333;">double</span> escalaY = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #993333;">double</span><span style="color:#006600; font-weight:bold;">&#41;</span>maximoAlto / <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #993333;">double</span><span style="color:#006600; font-weight:bold;">&#41;</span>altoImagen;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Tomo como referencia el minimo de las escalas</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333;">double</span> fEscala = <a href="http://www.google.com/search?q=allinurl%3AMath+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">Math</span></a>.<span style="color: #006600;">min</span><span style="color:#006600; font-weight:bold;">&#40;</span>escalaX, escalaY<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Devuelvo el resultado de aplicar esa escala a la imagen</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> escalar<span style="color:#006600; font-weight:bold;">&#40;</span>fEscala, imagen<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; 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="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Escala una imagen en porcentaje.</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @param factorEscala ejemplo: factorEscala=0.6 (escala la imagen al 60%)</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @param srcImg una imagen BufferedImage</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; * @return un BufferedImage escalado</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp; */</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> escalar<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <span style="color: #993333;">double</span> factorEscala, <span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> srcImg<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Comprobacion de parametros</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span>srcImg == <span style="color: #000000; font-weight: bold;">null</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">null</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Compruebo escala nula</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span>factorEscala == <span style="color:#800000;">1</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> srcImg;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// La creo con esas opciones</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3AAffineTransformOp+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">AffineTransformOp</span></a> op = <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3AAffineTransformOp+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">AffineTransformOp</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AAffineTransform+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">AffineTransform</span></a>.<span style="color: #006600;">getScaleInstance</span><span style="color:#006600; font-weight:bold;">&#40;</span>factorEscala, factorEscala<span style="color:#006600; font-weight:bold;">&#41;</span>, opciones<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Devuelve el resultado de aplicar el filro sobre la imagen</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> op.<span style="color: #006600;">filter</span><span style="color:#006600; font-weight:bold;">&#40;</span>srcImg, <span style="color: #000000; font-weight: bold;">null</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Metodo que guarda una imagen en disco </span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param imagen Imagen a almacenar en disco</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param rutaFichero Ruta de la imagen donde vamos a salvar la imagen</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param formato Formato de la imagen al almacenarla en disco</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return Booleano indicando si se consiguio salvar con exito la imagen</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">boolean</span> salvarImagen<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> imagen, </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> rutaFichero, <span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> formato<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Comprobacion de parametros</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span>imagen != <span style="color: #000000; font-weight: bold;">null</span> &amp;&amp; rutaFichero != <span style="color: #000000; font-weight: bold;">null</span> &amp;&amp; formato != <span style="color: #000000; font-weight: bold;">null</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">try</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageIO.<span style="color: #006600;">write</span><span style="color:#006600; font-weight:bold;">&#40;</span> imagen, formato, <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3AFile+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">File</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> rutaFichero <span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">true</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AException+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">Exception</span></a> e<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Fallo al guardar</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span>logger.<span style="color: #006600;">isDebugEnabled</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> == <span style="color: #000000; font-weight: bold;">true</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> CODIGO_MENSAJE_ERROR_GUARDADO_FICHERO = </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"No se pudo guardar correctamente la imagen en "</span> + </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rutaFichero;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; logger.<span style="color: #006600;">debug</span><span style="color:#006600; font-weight:bold;">&#40;</span>CODIGO_MENSAJE_ERROR_GUARDADO_FICHERO<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">false</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Fallo en los parametros </span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">false</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; 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="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/** Metodo principal de la clase. Usado como prueba</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param args Argumentos del metodo</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">static</span> <span style="color: #993333;">void</span> main<span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a> args<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Variables locales</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> imagen;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">try</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; imagen = ImageIO.<span style="color: #006600;">read</span><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3AFile+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">File</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color: #ff0000;">"prueba.jpg"</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ProcesadorImagenes pi = <span style="color: #000000; font-weight: bold;">new</span> ProcesadorImagenes<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Escalo algunas imagenes como pruebas</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> imagen800_<span style="color:#800000;">600</span> = pi.<span style="color: #006600;">escalarATamanyo</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagen,<span style="color:#800000;">800</span>, <span style="color:#800000;">600</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> imagenSnap_Shot = pi.<span style="color: #006600;">escalarATamanyo</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagen,<span style="color:#800000;">96</span>, <span style="color:#800000;">96</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3ABufferedImage+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">BufferedImage</span></a> imagenMediana = pi.<span style="color: #006600;">escalarATamanyo</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagen,<span style="color:#800000;">500</span>, <span style="color:#800000;">500</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//&nbsp; &nbsp; &nbsp; Las salvo en disco</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pi.<span style="color: #006600;">salvarImagen</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagen800_<span style="color:#800000;">600</span>,<span style="color: #ff0000;">"imagenG.jpg"</span>,<span style="color: #ff0000;">"jpg"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pi.<span style="color: #006600;">salvarImagen</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagenSnap_Shot,<span style="color: #ff0000;">"imagenP.jpg"</span>,<span style="color: #ff0000;">"jpg"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pi.<span style="color: #006600;">salvarImagen</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagenSnap_Shot,<span style="color: #ff0000;">"imagenE.png"</span>,<span style="color: #ff0000;">"PNG"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pi.<span style="color: #006600;">salvarImagen</span><span style="color:#006600; font-weight:bold;">&#40;</span>imagenMediana,<span style="color: #ff0000;">"imagenA.gif"</span>,<span style="color: #ff0000;">"gif"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Extraigo la lista de formatos capaces de leer</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3AString+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#93;</span> formatos = pi.<span style="color: #006600;">dameFormatosUsables</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// los voy mostrando</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #993333;">int</span> i=<span style="color:#800000;">0</span>; i &lt;formatos.<span style="color: #006600;">length</span>; i++<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3ASystem+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color:#006600; font-weight:bold;">&#40;</span>formatos<span style="color:#006600; font-weight:bold;">&#91;</span>i<span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color: #006600;">toString</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Final del metodo con exito</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.google.com/search?q=allinurl%3ASystem+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">System</span></a>.<span style="color: #006600;">exit</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AIOException+java.sun.com&#038;bntl=1"><span style="color: #aaaadd; font-weight: bold;">IOException</span></a> e<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.<span style="color: #006600;">printStackTrace</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
	<li style="font-weight: bold;color:#26536A;">
<div style="color:#000000; font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span>&nbsp; </div>
</li>
</ol>
</div>
	</div>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/procesado-de-imagenes-en-java-ii/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Talleres de verano subflash 07</title>
		<link>http://www.electroduendes.com/blog/talleres-de-verano-subflash-07/</link>
		<comments>http://www.electroduendes.com/blog/talleres-de-verano-subflash-07/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 01:22:28 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Actionscript</category>
		<guid>http://www.electroduendes.com/blog/talleres-de-verano-subflash-07/</guid>
		<description><![CDATA[	Un año más la gente de Subflash organiza unos Talleres abiertos de verano el 25 y 26 de Agosto, donde flasheros de todos los lugares de España y Latinoamérica se juntan para asistir a las ponencias, compartir experiencias, conocimientos y disfrutar del comer y beber del lugar. Tras Teruel, Madrid, Barcelona y Oviedo, este año [...]]]></description>
			<content:encoded><![CDATA[	<p>Un año más la gente de Subflash organiza unos <strong>Talleres abiertos de verano</strong> el <strong>25 y 26 de Agosto</strong>, donde flasheros de todos los lugares de España y Latinoamérica se juntan para asistir a las ponencias, compartir experiencias, conocimientos y disfrutar del comer y beber del lugar. Tras Teruel, Madrid, Barcelona y Oviedo, este año toca <strong>Málaga</strong>.<br />
Este evento <strong>sin ánimo de lucro</strong> está dirigido a todos los desarrolladores web. La convocatoria es abierta, con lo que cualquier persona podrá inscribirse en el sitio web para asistir a las ponencias, bien como oyente si se encuentra en Málaga, o bien mediante opción completa, con alojamiento y pensión completa.<br />
Personalmente solo puedo escribir alabanzas hacia este evento, que... no sólo me ha servido en el plano profesional, sino también en el plano personal, forjando grandes amistades con muchos de los asistentes durante los cuatro años que llevo asistiendo al evento.<br />
Este año no va a poder ser por temas académicos y no podré asistir. Solo les deseo que lo pasen tan bien como yo lo hice en los años anteriores, y animo a todo aquel que habite en el mundillo del desarrollo web y Flash a que se inscriba para este año. La experiencia es única!</p>
	<p>Más información:<br />
<a href="http://www.subflash.com/talleres/2007/">http://www.subflash.com/talleres/2007/</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/talleres-de-verano-subflash-07/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>calculadora de madera</title>
		<link>http://www.electroduendes.com/blog/calculadora-de-madera/</link>
		<comments>http://www.electroduendes.com/blog/calculadora-de-madera/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 03:39:07 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Actionscript</category>
		<guid>http://www.electroduendes.com/blog/calculadora-de-madera/</guid>
		<description><![CDATA[	Un poco de madera, unas canicas y la gravedad es lo único que necesita este sujeto para explicar la manera en la que suma un computador. Muy didáctico para los que siempre se lo preguntaron.
	


	[calculadora de bolsillo]
]]></description>
			<content:encoded><![CDATA[	<p>Un poco de madera, unas canicas y la gravedad es lo único que necesita este sujeto para explicar la manera en la que suma un computador. Muy didáctico para los que siempre se lo preguntaron.</p>
	<p><object width="425" height="350"><br />
<param name="movie" value="http://www.youtube.com/v/GcDshWmhF4A"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/GcDshWmhF4A" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
	<p><a href="http://es.youtube.com/watch?v=GcDshWmhF4A">[calculadora de bolsillo]</a></p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/calculadora-de-madera/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Cuando un gato ataca</title>
		<link>http://www.electroduendes.com/blog/cuando-un-gato-ataca/</link>
		<comments>http://www.electroduendes.com/blog/cuando-un-gato-ataca/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 01:07:15 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Actionscript</category>
		<guid>http://www.electroduendes.com/blog/cuando-un-gato-ataca/</guid>
		<description><![CDATA[	


	[ instinto felino ]
]]></description>
			<content:encoded><![CDATA[	<p><object width="425" height="350"><br />
<param name="movie" value="http://www.youtube.com/v/tcxhOGyrCtI"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/tcxhOGyrCtI" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
	<p><a href="http://www.youtube.com/watch?v=tcxhOGyrCtI">[ instinto felino ]</a></p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/cuando-un-gato-ataca/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Árbol de actionscript.es</title>
		<link>http://www.electroduendes.com/blog/arbol-de-actionscriptes/</link>
		<comments>http://www.electroduendes.com/blog/arbol-de-actionscriptes/#comments</comments>
		<pubDate>Mon, 14 May 2007 18:43:57 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Flash</category>
	<category>Actionscript</category>
	<category>Experimental</category>
	<category>Eye candy UI</category>
	<category>mis experimentos</category>
		<guid>http://www.electroduendes.com/blog/arbol-de-actionscriptes/</guid>
		<description><![CDATA[	Por aquí dejo un prototipo de experimento que empecé hace como un año y medio.  Se trata de un sistema de visualización gráfica en forma de árbol del rss del sitio web Actionscript.es. Para los que no lo conozcan, actionscript.es es un portal de enlaces y recursos del lenguaje de programación Actionscript para su [...]]]></description>
			<content:encoded><![CDATA[	<p>Por aquí dejo un prototipo de experimento que empecé hace como un año y medio.  Se trata de un sistema de visualización gráfica en forma de árbol del rss del sitio web <strong>Actionscript.es.</strong> Para los que no lo conozcan, <a href="http://www.actionscript.es">actionscript.es</a> es un portal de enlaces y recursos del lenguaje de programación Actionscript para su plataforma Flash, donde podemos encontrar los sitios web de obligada visita para cualquier desarrollador y diseñador  de esta plataforma, así como añadir nuevos enlaces al portal. Dicha página, pone a dominio público, un <a href="http://www.actionscript.es/sindicar.php">feed RSS</a> de los enlaces de la misma, de manera que cualquiera (en este caso, yo) pueda acceder a los recursos que allí se brindan, y representarlos a su antojo.</p>
	<p>La idea del experimento era presentar el directorio de enlaces del portal mediante un juguete visual y dar una vuelta de tuerca al árbol de datos de la web, además de servirme como "sparring" para el desarrollo de un conjunto de clases para el tratamiento de sistemas de representación de redes y datos complejos.</p>
	<div style="text-align:center">
<a href="http://www.electroduendes.com/actionscript.es"><img src="/blog/wp-content/arbol_actionscript.jpg" border="0"/></a>
</div>
	<p>Es curioso, pero con muchos de mis experimentos personales, me pasa como con los pantalones de mi armario. Al principio, como son nuevos, los pongo casi todos los días (equivale a cuando se me ocurre alguna idea y me pongo a desarrollarla). Pero pasado un tiempo, los pantalones se van rompiendo y desgastando (problemas, bugs) , y cada vez me los pongo menos (dedico menos tiempo al desarrollo), me compro unos nuevos (nuevas ideas), y aquellos pantalones quedan olvidados en el fondo del armario (mi repositorio). De vez en cuando, me topo con ellos, y pienso para mí "cómo los voy a regalar, si todavía están nuevos..." (regalar= liberar ó publicar)  y aquellos pantalones, aguantan una temporada más en el fondo del armario esperando para nada.<br />
Hasta que por fin, un día, me armo de valor y lo publico, a medias, y dos años después de haberlo parido. Más vale un experimento a medias que un no-experimento, ¿no es así?</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/arbol-de-actionscriptes/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Los jóvenes no leemos prensa</title>
		<link>http://www.electroduendes.com/blog/los-jovenes-no-leemos-prensa/</link>
		<comments>http://www.electroduendes.com/blog/los-jovenes-no-leemos-prensa/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 16:05:26 +0000</pubDate>
		<dc:creator>Alex Sánchez</dc:creator>
		
	<category>Personal</category>
		<guid>http://www.electroduendes.com/blog/los-jovenes-no-leemos-prensa/</guid>
		<description><![CDATA[	
	Forges es genial...

]]></description>
			<content:encoded><![CDATA[	<p><img src="http://www.elpais.com/recorte/20070426elpepivin_1/XLCO/Ges/20070426elpepivin_1.jpg" alt="forbes" width="500" /></p>
	<p>Forges es genial...
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.electroduendes.com/blog/los-jovenes-no-leemos-prensa/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
