<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java GIF Adventure</title>
	<atom:link href="http://www.ioncannon.net/php/79/java-gif-adventure/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ioncannon.net/php/79/java-gif-adventure/</link>
	<description>Thoughts on Software Development and Engineering</description>
	<lastBuildDate>Thu, 05 Jan 2012 16:35:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: drain</title>
		<link>http://www.ioncannon.net/php/79/java-gif-adventure/comment-page-1/#comment-64514</link>
		<dc:creator>drain</dc:creator>
		<pubDate>Wed, 23 Apr 2008 22:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/php/79/java-gif-adventure/#comment-64514</guid>
		<description>Your way mangles and dirties the image so slightly. Try the following and it comes out nice and clean...


bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
graphic = (Graphics2D)bufferedImage.getGraphics();
.
.
.
        graphic.setColor(java.awt.Color.white);
graphic.setComposite(AlphaComposite.Clear); // for transparency
graphic.fillRect(0, 0, width, height);
graphic.setComposite(AlphaComposite.SrcOver); // for transparency</description>
		<content:encoded><![CDATA[<p>Your way mangles and dirties the image so slightly. Try the following and it comes out nice and clean&#8230;</p>
<p>bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);<br />
graphic = (Graphics2D)bufferedImage.getGraphics();<br />
.<br />
.<br />
.<br />
        graphic.setColor(java.awt.Color.white);<br />
graphic.setComposite(AlphaComposite.Clear); // for transparency<br />
graphic.fillRect(0, 0, width, height);<br />
graphic.setComposite(AlphaComposite.SrcOver); // for transparency</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.183 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-03 10:11:44 -->

