<?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>Everything old is new again &#187; pngstrip</title>
	<atom:link href="http://www.svendtofte.com/tag/pngstrip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.svendtofte.com</link>
	<description>rantings &#38; scraps on code and web development</description>
	<lastBuildDate>Thu, 27 Aug 2009 22:38:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The utterly retarded IE PNG implementation (and pngstrip)</title>
		<link>http://www.svendtofte.com/web/the-utterly-retarded-ie-png-implementation-and-pngstrip/</link>
		<comments>http://www.svendtofte.com/web/the-utterly-retarded-ie-png-implementation-and-pngstrip/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 19:40:07 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[gamma]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[pngstrip]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=117</guid>
		<description><![CDATA[pngstrip (32bit, Windows Executable at 59 kb) is a small program I&#8217;ve written to strip out the various kinds of gamma and chromacity information from PNG files. It&#8217;s written in standard ANSI C, so should compile on anything reasonable, though it has only been tested on Windows XP. The source code is also freely available. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.svendtofte.com/wp-content/uploads/2008/08/pngstrip.exe">pngstrip</a> (32bit, Windows Executable at 59 kb) is a small program I&#8217;ve written to strip out the various kinds of gamma and chromacity information from PNG files. It&#8217;s written in standard ANSI C, so should compile on anything reasonable, though it has only been tested on Windows XP. <a href="http://www.svendtofte.com/wp-content/uploads/2008/08/pngstrip.c">The source code is also freely available.</a> It&#8217;s console program, just type out <code>pngstrip filename.png</code>, and <code>filename.png</code> will be stripped.</p>
<p>We spent years <a href="http://www.alistapart.com/stories/pngopacity/">agonizing over the lack of 8-bit alpha channel in PNG in IE</a>, and when we filly get it <a href="http://blogs.msdn.com/ie/archive/2005/04/26/412263.aspx">natively/nicely supported in IE</a> they go and botch is so horribly.</p>
<p>Most of us have heard about gamma. But unless you do something in the graphics/print field, it mostly remains a button on our screen, where we tweak the luminocity of the screen. But of course, when an artist makes a snazzy PNG picture, making sure that it appears at the same display intensity as it did on his screen is understandably an laudarble goal. So PNG embeds gamma information, saying that this and that color, should be show at this and that intensity. The problem occurs when the BOG STANDARD (for 15 years and counting) HTML and CSS colors are NOT processed through the same system and thus don&#8217;t get the same gamma correction applied. <a href="http://www.svendtofte.com/wp-content/uploads/2008/08/iepng.html">The problem is easy to spot</a> (need to be viewed in IE). The PNG files, once stripped, appears correctly.</p>
<p>I won&#8217;t really bother explaining this problem more, since it goes beyond stupid, I&#8217;ll just link further reading materials if you don&#8217;t know why you may wish to strip your PNG files for gamma information. <a href="http://hsivonen.iki.fi/png-gamma/">Henri Sivonen</a> has the best treatment on the topic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/web/the-utterly-retarded-ie-png-implementation-and-pngstrip/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
