<?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>Andrew Morgan &#187; Icons</title>
	<atom:link href="http://andrewmorgan.ie/tag/icons/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmorgan.ie</link>
	<description>Grumpy ramblings</description>
	<lastBuildDate>Fri, 30 Jun 2017 09:24:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>XenDesktop Iconizer, a new tool for XenDesktop icons.</title>
		<link>http://andrewmorgan.ie/2013/09/xendesktop-iconizer-a-new-tool-for-xendesktop-icons/</link>
		<comments>http://andrewmorgan.ie/2013/09/xendesktop-iconizer-a-new-tool-for-xendesktop-icons/#comments</comments>
		<pubDate>Thu, 26 Sep 2013 21:40:28 +0000</pubDate>
		<dc:creator><![CDATA[andyjmorgan]]></dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[Storefront]]></category>

		<guid isPermaLink="false">http://andrewmorgan.ie/?p=2800</guid>
		<description><![CDATA[Recently I read a post from XD Tipster on how to convert Png files into icons and use them for XenDesktop and Storefront&#8230; A very interesting piece, but a bit convoluted and long winded for my liking. I didn&#8217;t like the idea of the two website hops to get this information into XenDesktop format&#8230; So I decided to write two utilities: Iconizer: &#160; &#160; Iconizer Converts png files (with transparency supported) to an Ico file format , then in turn converts [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Recently I read a<a href="http://blogs.citrix.com/2013/08/21/xd-tipster-changing-delivery-group-icons-revisited-xd7/" target="_blank"> post</a> from XD <a href="http://blogs.citrix.com/2013/09/23/xd-tipster-follow-me-on-twitter/" target="_blank">Tipster</a> on how to convert Png files into icons and use them for XenDesktop and Storefront&#8230; A very interesting piece, but a bit convoluted and long winded for my liking. I didn&#8217;t like the idea of the two website hops to get this information into XenDesktop format&#8230; So I decided to write two utilities:</p>
<p><img class="aligncenter size-full wp-image-2806" src="/wp-content/uploads/2013/09/icons.png" alt="icons" width="595" height="269" /></p>
<p><span id="more-2800"></span></p>
<p><strong>Iconizer:</strong></p>
<p>&nbsp;</p>
<p><a href="/wp-content/uploads/2013/09/iconizer.png"><img class="aligncenter size-full wp-image-2801" src="/wp-content/uploads/2013/09/iconizer.png" alt="iconizer" width="346" height="144" /></a></p>
<p>&nbsp;</p>
<p>Iconizer Converts png files (with transparency supported) to an Ico file format , then in turn converts it To a Base 64 String.</p>
<p>You can send the data to the clipboard or import directly into XenDesktop if you have the powershell tools available.</p>
<p>&nbsp;</p>
<p><a href="/wp-content/uploads/2013/09/added.png"><img class="aligncenter size-full wp-image-2804" src="/wp-content/uploads/2013/09/added.png" alt="added" width="388" height="172" /></a></p>
<p>&nbsp;</p>
<p>It&#8217;s very simple, I wont bore you with the details, just convert and import. then map with powershell:</p>
<p>&nbsp;</p>
<p><a href="/wp-content/uploads/2013/09/seticon.png"><img class="aligncenter size-full wp-image-2803" src="/wp-content/uploads/2013/09/seticon.png" alt="seticon" width="595" height="115" /></a></p>
<p>&nbsp;</p>
<p><strong>Reverse Iconizer:</strong></p>
<p>&nbsp;</p>
<p><a href="/wp-content/uploads/2013/09/reverseiconizer.png"><img class="aligncenter size-full wp-image-2805" src="/wp-content/uploads/2013/09/reverseiconizer.png" alt="reverseiconizer" width="195" height="180" /></a></p>
<p>&nbsp;</p>
<p>I&#8217;m sure you can guess, takes the massive string of information stored in base64 and gives you a visual representation.</p>
<p>An example command line of how to do this is below:</p>
<p>&nbsp;</p>
<p><a href="/wp-content/uploads/2013/09/poshtoclipreverse.png"><img class="aligncenter size-full wp-image-2810" src="/wp-content/uploads/2013/09/poshtoclipreverse.png" alt="poshtoclipreverse" width="595" height="196" /></a></p>
<p>&nbsp;</p>
<p><strong>Hey wait?</strong></p>
<p>&nbsp;</p>
<p><em>Why didn&#8217;t you integrate both of these?</em></p>
<p>Well it seems .net and Powershell have a limit on the data (string length) it can pull out of the pipeline. The default Citrix icon is close to 20,000 characters and results in you being unable to pull this data from powershell directly to .net. WIth great help from <a href="http://www.jonathanmedd.net/">http://www.jonathanmedd.net/</a>  we found that, yep the console does seem to have a roughly 8k char limit&#8230; Sure I could parse it to a file or the clipboard, but that was messy and frankly, <strong>I really couldn&#8217;t be arsed. </strong></p>
<p>If you are up to the challenge I&#8217;ve got the source code for forward and reverse of the icon data below. I&#8217;ve also got a half assed attempt at creating a list&#8230; So fill your boots and take up the challenge if you wish.</p>
<p>&nbsp;</p>
<p><strong>Download:</strong></p>
<p>&nbsp;</p>
<p>As with most of my utilities the download links and source code are below, and a few icons to get you going:</p>
<p><a href="/wp-content/uploads/2013/09/system-windows-icon.png"><img class="alignleft size-full wp-image-2807" src="/wp-content/uploads/2013/09/system-windows-icon.png" alt="System-Windows-icon" width="48" height="48" /></a> <a href="/wp-content/uploads/2013/09/windows8.png"><img class="size-full wp-image-2808 alignleft" src="/wp-content/uploads/2013/09/windows8.png" alt="Windows8" width="48" height="48" /></a></p>
<p><a href="https://app.box.com/s/mu7bq8gcjdq75hrdt18112c6r41uchq6" target="_blank">Download utilities.</a></p>
<p><a href="https://app.box.com/s/mu7bq8gcjdq75hrdt18112c6r41uchq6" target="_blank">Download Source Code.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewmorgan.ie/2013/09/xendesktop-iconizer-a-new-tool-for-xendesktop-icons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
