<?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>Guy Rutenberg &#187; ImageMagick</title>
	<atom:link href="http://www.guyrutenberg.com/tag/imagemagick/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Sat, 21 Aug 2010 11:44:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Alpha Channel Problems When Creating .ico Files Using ImageMagick</title>
		<link>http://www.guyrutenberg.com/2008/10/05/alpha-channel-problems-when-creating-ico-files-using-imagemagick/</link>
		<comments>http://www.guyrutenberg.com/2008/10/05/alpha-channel-problems-when-creating-ico-files-using-imagemagick/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 15:30:42 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[ImageMagick]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=102</guid>
		<description><![CDATA[I&#8217;ve tried to use ImageMagick to create .ico files for Open Yahtzee, out of PNGs of various sizes. The command as it should have been: convert openyahtzee16.png openyahtzee32.png openyahtzee64.png openyahtzee.ico resulted in the alpha channel being reversed. I&#8217;ve used ImageMagick 6.4.0, and I didn&#8217;t remember this misbehavior happening in the previous versions. While this annoyed, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried to use <a href="http://www.imagemagick.org/">ImageMagick</a> to create .ico files for <a href="http://www.openyahtzee.org/">Open Yahtzee</a>, out of PNGs of various sizes. The command as it should have been:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">convert openyahtzee16.png openyahtzee32.png openyahtzee64.png openyahtzee.ico</pre></div></div>

<p>resulted in the alpha channel being reversed. I&#8217;ve used ImageMagick 6.4.0, and I didn&#8217;t remember this misbehavior happening in the previous versions.</p>
<p>While this annoyed, and was due to no apparent reason, it could be easily solved using the ImageMagick switches to reverse the alpha channel:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">-channel Alpha -negate</pre></div></div>

<p> So the command that produces a correct .ico file was:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">convert openyahtzee16.png openyahtzee32.png openyahtzee64.png -channel Alpha -negate openyahtzee.ico</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2008/10/05/alpha-channel-problems-when-creating-ico-files-using-imagemagick/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.418 seconds -->
