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

<channel>
	<title>Gracepoint After Five &#187; transparency</title>
	<atom:link href="http://www.gracepointafterfive.com/tag/transparency/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gracepointafterfive.com</link>
	<description>A design blog by those of us with day jobs</description>
	<lastBuildDate>Thu, 22 Jul 2010 17:17:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>punypng now supports Dirty Transparency</title>
		<link>http://www.gracepointafterfive.com/punypng-now-supports-dirty-transparency</link>
		<comments>http://www.gracepointafterfive.com/punypng-now-supports-dirty-transparency#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:00:04 +0000</pubDate>
		<dc:creator>conrad</dc:creator>
				<category><![CDATA[Our Projects]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[punypng]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.gracepointafterfive.com/?p=117</guid>
		<description><![CDATA[Gracepoint After Five&#8217;s super-ninja compression tool, punypng, got a new upgrade to help slice and dice the size of your website images.  punypng&#8217;s compression algorithm now automatically supports Dirty Transparency as described by Sergey Chikuyonok&#8217;s awesome article on Clever PNG Optimization Techniques that was recently published on Smashing Mazagine.  This unique and innovative technique offers additional [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">G</span>racepoint After Five&#8217;s super-ninja compression tool, <a href="../punypng">punypng</a>, got a new upgrade to help slice and dice the size of your website images.  punypng&#8217;s compression algorithm now automatically supports Dirty Transparency as described by Sergey Chikuyonok&#8217;s awesome article on <a href="http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/">Clever PNG Optimization Techniques</a> that was recently published on Smashing Mazagine.  This unique and innovative technique offers additional compression to any PNG or GIF as long as it has either 8-bit or 1-bit transparency.  <strong>On average, you can save about 10% more, and in some cases, you will save even as much as 35%!</strong></p>
<p>As I wrote <a href="http://www.gracepointafterfive.com/dirty-transparency">previously</a> regarding dirty transparency, you can use our Photoshop action to create a more optimized PNG.  If you ever find yourself outputting a layer that has been masked, you can look to get some serious savings.</p>
<div id="attachment_124" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gracepointafterfive.com/wp-content/uploads/2009/07/example1.png"><img class="size-medium wp-image-124 " title="Butterfly Example" src="http://www.gracepointafterfive.com/wp-content/uploads/2009/07/example1-300x184.png" alt="Butterfly Example" width="300" height="184" /></a><p class="wp-caption-text">Typical use case where dirty transparency will give you the most savings</p></div>
<p>This butterfly image above was reduced by 36% when I ran it through the updated dirty transparency compression algorithms in punypng.  This image was only reduced by 7% when dirty transparency was disabled.</p>
<p>One of my Ask.com UX Design buddies was a little skeptical in terms of how dirty transparency would help our team.  He mentioned that our sprite preparation process already optimizes the transparency of our assets;  transparencies are already cut and matted &#8230; no hidden image data.  Right? Well, I wasn&#8217;t sure either way , so I decided to run a test on our Ask.com sprites.  Our sprites span a good variety of use cases, ranging from full 24-bit color PNGs to 8-bit GIFs to 24-bit hand-quantized, indexed PNGs.  In terms of image data, everything is as tight and pixel-pushed as they possibly can be &#8230; transparencies are matted and all masks applied.</p>
<p>Here are the results:</p>
<div id="attachment_129" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gracepointafterfive.com/wp-content/uploads/2009/07/comparison1.png"><img class="size-medium wp-image-129" title="Dirty Transparency Comparison" src="http://www.gracepointafterfive.com/wp-content/uploads/2009/07/comparison1-300x268.png" alt="Dirty Transparency Comparison" width="300" height="268" /></a><p class="wp-caption-text">punypng&#39;s new support for dirty transparency </p></div>
<p style="text-align: center;">
<p>The above results speak for themselves.  The results are very surprising!  <strong>punypng was still able to squeeze out another 3% of compression on average on top of the existing compression algorithm!</strong></p>
<p>So what&#8217;s the catch.  Well, in some minor cases, the dirty transparency technique produced images that were 1-2% larger than usual (though they were still smaller than anything that pngcrush or optipng could ever produce).  However, these were rare cases and the savings as a whole in fact did add up to 10% or more.  In terms of performance, using dirty transparency to compress 15 or more files adds only added 1-2 seconds to the process.</p>
<p>In general, I think it&#8217;s safe to say that dirty transparency is a proven technique that warrants inclusion in everyone&#8217;s arsenal.  It&#8217;s my hope that with this latest addition, punypng can start emerging from the myriad of compression tools on the market as the one-stop tool for designers and web geeks who are serious about making the web more puny.  Give a try and post your comparison results.</p>
<p>Thanks again to Sergey Chikuyonok for his original contributions.  I look forward to adding more of his techniques into punypng.</p>
<p>Update on 10/12/09: <a href="http://www.gracepointafterfive.com/ie6-support-with-punypng">PunyPNG supports IE6 using the dd_belatedpng plugin</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gracepointafterfive.com/punypng-now-supports-dirty-transparency/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
