<?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: 20 Image Resizing Pitfalls</title>
	<atom:link href="http://nathanaeljones.com/163/20-image-resizing-pitfalls/feed/" rel="self" type="application/rss+xml" />
	<link>http://nathanaeljones.com/163/20-image-resizing-pitfalls/</link>
	<description>Ramblings of a computer linguist</description>
	<lastBuildDate>Sat, 20 Feb 2010 18:58:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Aris</title>
		<link>http://nathanaeljones.com/163/20-image-resizing-pitfalls/comment-page-1/#comment-216</link>
		<dc:creator>Aris</dc:creator>
		<pubDate>Wed, 11 Nov 2009 12:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://66.29.219.39/?p=163#comment-216</guid>
		<description>Excellent post! It combines all of the useful knowledge I had gathered so far.

About ImageCodecInfo: You can use this instead (from http://msdn.microsoft.com/en-us/library/bb882583.aspx):

private ImageCodecInfo GetEncoder(ImageFormat format)
{
    ImageCodecInfo[] codecs = ImageCodecInfo.GetImageEncoders();

    foreach (ImageCodecInfo codec in codecs)
    {
        if (codec.FormatID == format.Guid)
        {
            return codec;
        }
    }
    return null;
}</description>
		<content:encoded><![CDATA[<p>Excellent post! It combines all of the useful knowledge I had gathered so far.</p>
<p>About ImageCodecInfo: You can use this instead (from <a href="http://msdn.microsoft.com/en-us/library/bb882583.aspx)" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb882583.aspx)</a>:</p>
<p>private ImageCodecInfo GetEncoder(ImageFormat format)<br />
{<br />
    ImageCodecInfo[] codecs = ImageCodecInfo.GetImageEncoders();</p>
<p>    foreach (ImageCodecInfo codec in codecs)<br />
    {<br />
        if (codec.FormatID == format.Guid)<br />
        {<br />
            return codec;<br />
        }<br />
    }<br />
    return null;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
