<?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; compression</title>
	<atom:link href="http://www.gracepointafterfive.com/tag/compression/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>
		<item>
		<title>punypng: making the web more puny, one png at a time</title>
		<link>http://www.gracepointafterfive.com/punypng-making-the-web-a-more-puny-place</link>
		<comments>http://www.gracepointafterfive.com/punypng-making-the-web-a-more-puny-place#comments</comments>
		<pubDate>Thu, 09 Jul 2009 06:00:39 +0000</pubDate>
		<dc:creator>conrad</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Our Projects]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[punypng]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.gracepointafterfive.com/?p=56</guid>
		<description><![CDATA[I finally released punypng to the world last week.  It&#8217;s a free png compression service that intelligently leverages multiple open-source png compression algorithms in the hopes of making the web  more puny, one png at a time. Try out punypng (as a short url: http://www.punypng.com works as well) How punypng came about punypng actually started [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">I</span> finally released punypng to the world last week.  It&#8217;s a free png compression service that intelligently leverages multiple open-source png compression algorithms in the hopes of making the web  more puny, one png at a time.</p>
<p><a href="http://www.gracepointafterfive.com/punypng">Try out punypng</a> (as a short url: <a href="http://www.punypng.com">http://www.punypng.com</a> works as well)</p>
<p><a style="text-decoration: none;" href="http://www.gracepointafterfive.com/punypng"><img class="aligncenter size-full wp-image-69" title="punypng - png optimization" src="http://www.gracepointafterfive.com/wp-content/uploads/2009/07/punypng.png" alt="punypng - png optimization" width="329" height="77" /></a></p>
<p><strong>How punypng came about</strong></p>
<p>punypng actually started not as a need at Gracepoint Fellowship Church, but rather at my day job.  At the <a href="http://www.ask.com">Ask.com User Experience Team</a>, we believe down to our toes that design is about craftsmanship.  Our designers are obsessive about detail, and though few notice, everything is &#8220;pixel-pushed&#8221; &#8212; no stray pixels, no unnecessary colors.  A big part of search is fast page load times.  Every search experience team (Google, Yahoo, etc) knows that the faster the page loads, the more loyal your users will be over time (if you don&#8217;t by now, well, now you know).  The Ask.com team previously relied on Yahoo&#8217;s <a href="http://www.smushit.com">smush.it</a> service (no shame, Yahoo dev tools are great and a huge asset to everyone), which was very impressive, but for our day-to-day work, we wanted something that was made for designers by designers.  So after a few sleepless nights thinking how I can make my PNGs smaller, I decided to start on the punypng project.  Fast forward a month later, punypng is now the bread and butter tool among the Ask.com UX designers (and the Gracepoint designers as well)</p>
<p><strong>The specialness of punypng</strong></p>
<p>I don&#8217;t claim that punypng is for everyone.  I wanted a tool made for designers, and so I also left out a lot features (for now) such as an API or fetching images via URLs (I assume all original assets are on your hard drive not on some website).  But though lacking in these small ways, it does boast some great features:</p>
<ul>
<li>Fully supports for PNG, .GIF, .JPG</li>
<li>Clear affordances for # of bytes saved (as well as being pretty bar graphs)</li>
<li>JPEG Compression &#8212; punypng doesn&#8217;t leave JPEGs out in the cold.  JPEGs are analyzed to see if a compressed PNG format is better (ex: JPEGs with heavy solid areas benefit from this).  But if not, don&#8217;t despair, punypng is backed with <a href="http://jpegclub.org/">jpeg-tran</a> and <a href="http://freshmeat.net/projects/jpegoptim/">jpegoptim</a> for further JPEG optimzation.</li>
<li>&#8220;Fire-and-forget&#8221; batch processing: You can upload up to 50 files in a single session.  Optimized versions are clearly labeled, and if no further optimization can be made to the uploaded file, you get the original back untouched.  After you upload a batch, you can go ahead and upload another batch without having to reload the page.</li>
<li>Download batch jobs as a single time-stamped ZIP.</li>
<li><a href="http://www.gracepointafterfive.com/punypng-changelog">See the changelog</a> for future updates</li>
</ul>
<p><strong>The future</strong></p>
<p>I don&#8217;t know what the future holds in store for punypng.  Please let me know if there&#8217;s some enhancement or new feature that would help your day to day work.  punypng has relentless commitment to making every png as small as possible, so barring enormous CPU requirements, let us know if there&#8217;s some experimental binary out there that we can include. The great thing of an online tool vs a desktop tool is that we can constantly improve the performance and efficiency of the compression as new algorithms are made available.  Just today I found a way to squeeze out 3-5% more.</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-72" title="Before and After" src="http://www.gracepointafterfive.com/wp-content/uploads/2009/07/comparison-300x140.png" alt="Before and After" width="300" height="140" /></p>
<p><strong>Help support punypng</strong></p>
<p>Well, every Gracepoint After Five project is free to the world, and is our belief, that all the little tools we build will end up benefiting the church at large (as well as my team at Ask.com of course).  Running a CPU-intensive site like punypng isn&#8217;t cheap.  Please help support the cause.  If not, please help spread the word.  Our gratitude to you is non-puny.</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-making-the-web-a-more-puny-place/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
