<?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>Sean A Sullivan : Web Developer, Marketing Enthusiast, Musician</title>
	<atom:link href="http://www.seanasullivan.com/tag/compatibility/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seanasullivan.com</link>
	<description>Web Developer, SEO Enthusiast, Musician</description>
	<lastBuildDate>Mon, 02 Nov 2009 16:26:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>PNG Gamma Compatibility in Internet Explorer</title>
		<link>http://www.seanasullivan.com/2008/11/png-gamma-compatibility-in-internet-explorer/</link>
		<comments>http://www.seanasullivan.com/2008/11/png-gamma-compatibility-in-internet-explorer/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 07:25:22 +0000</pubDate>
		<dc:creator>Sean Sullivan</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.seanasullivan.com/?p=122</guid>
		<description><![CDATA[In the web world, it is common knowledge that using the .png image format can cause grief with concern to compatibility across different browsers. With the release of Internet Explorer 7, issues with transparency were resolved; however, a new issue exists that I encountered today and felt would be appropriate to address&#8212;.png gamma correction. The [...]]]></description>
			<content:encoded><![CDATA[<p>In the web world, it is common knowledge that using the .png image format can cause grief with concern to compatibility across different browsers.  With the release of Internet Explorer 7, issues with transparency were resolved; however, a new issue exists that I encountered today and felt would be appropriate to address&#8212;.png gamma correction.  <span id="more-122"></span></p>
<p><strong>The Problem.</strong>  Gamma correction is a feature of .png files that is supposed to benefit the user in that when the image file is rendered, the application handling the render is to interpret data stored in the .png file and adjust its display accordingly.  This is also inherently the issue.  With the latest round of browsers, this gamma information is discarded, except in Internet Explorer.  Because of this, what you end up with is the scenario in which <span class="caps">CSS</span> colors do not correctly match those colors in the image.  This is due to the fact that the gamma is being corrected on the image but not on the&nbsp;<span class="caps">CSS</span>.</p>
<p><strong>The Solution.</strong>  After doing some searching, I found an application, called <a href="http://brh.numbera.com/software/pnggauntlet/">PNGGauntlet</a>, that actually optimizes .png files and strips the gamma information out of the file, causing each browser to render the image the&nbsp;same.</p>
<p>Here&#8217;s my example in which I was working with a gradient background <span class="caps">PNG</span> that ends in a green color that is to be picked up and continued by the <span class="caps">CSS</span> background-color attribute.  Note the darkness of the background image in the Internet Explorer example before using PNGGauntlet.  Once I optimized the background graphic with my new tool, the colors matched up great in all my test&nbsp;browsers.</p>
<p><a href="http://www.seanasullivan.com/wp-content/uploads/2008/11/png_test.png"><img src="http://www.seanasullivan.com/wp-content/uploads/2008/11/png_test.png" alt="png_test" title="png_test" width="470" height="254" class="aligncenter size-full wp-image-133" /></a></p>
<p>Further Exploration: <a href="http://www.libpng.org/pub/png/colorcube/">Browser Gamma-Consistency Test</a>, <a href="http://hsivonen.iki.fi/png-gamma/">The Sad Story of <span class="caps">PNG</span> Gamma&nbsp;“Correction”</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seanasullivan.com/2008/11/png-gamma-compatibility-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

