<?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>RBDevZone &#187; Graphics</title>
	<atom:link href="http://www.rbdevzone.com/category/graphics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rbdevzone.com</link>
	<description>The REALbasic Resource</description>
	<lastBuildDate>Tue, 31 Aug 2010 19:55:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Back to Normal</title>
		<link>http://www.rbdevzone.com/2009/01/back-to-normal/</link>
		<comments>http://www.rbdevzone.com/2009/01/back-to-normal/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 17:01:34 +0000</pubDate>
		<dc:creator>Paul Lefebvre</dc:creator>
				<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://www.rbdevzone.com/?p=193</guid>
		<description><![CDATA[I don&#8217;t know the exact cause of the malware attack on RBDevZone early this morning.  Originally I suspected it was related to the new custom theme I was using, but it also could have been a flaw in WordPress 2.6
I have removed the offending code from the templates, have upgraded the site to use [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know the exact cause of the malware attack on RBDevZone early this morning.  Originally I suspected it was related to the new custom theme I was using, but it also could have been a flaw in WordPress 2.6</p>
<p>I have removed the offending code from the templates, have upgraded the site to use WordPress 2.7 (the latest version) and have upgraded all plugins.</p>
<p>Everything seems to be back to normal now.  If anyone notices any suspect behavior in the future, please let me know directly: paul@logicalvue.com</p>
<p>Thanks for your patience.  I apologize again for the inconvenience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbdevzone.com/2009/01/back-to-normal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PNG Utilities Replacements</title>
		<link>http://www.rbdevzone.com/2008/10/png-utilities-replacements/</link>
		<comments>http://www.rbdevzone.com/2008/10/png-utilities-replacements/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 23:30:07 +0000</pubDate>
		<dc:creator>Paul Lefebvre</dc:creator>
				<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://www.rbdevzone.com/2008/10/png-utilities-replacements/</guid>
		<description><![CDATA[In a prior post, I noted that PNG Utilities has been deprecated.  It still works fine in REALbasic 2008 Release 4, but if you&#8217;re looking to replace it with something that is supported you have two (non-free) option: Monkeybread Plugins or Einhugur GraphicsFormats plugin
Switching to either of this is quite easy, but I thought [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://www.rbdevzone.com/2008/08/png-utilities-deprecated/">prior post</a>, I noted that PNG Utilities has been deprecated.  It still works fine in REALbasic 2008 Release 4, but if you&#8217;re looking to replace it with something that is supported you have two (non-free) option: <a href="http://www.monkeybreadsoftware.de/realbasic/plugins.shtml">Monkeybread Plugins</a> or <a href="http://www.einhugur.com/">Einhugur</a> <a href="http://www.einhugur.com/Html/GraphicsFormats/index.html">GraphicsFormats</a> plugin</p>
<p>Switching to either of this is quite easy, but I thought it would be worth capturing how to do it in a post here.</p>
<p>This is a sample code for loading a toolbar icon using PNG Utilities:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;">Me.SaveToolButton.Icon = PNGu.GetPictureWithMask(save32)</pre></div></div>

<p>This code is in the Open event of the toolbar.</p>
<h2>MonkeyBread PNG Plugin</h2>
<p>The entire MonkeyBread plugin suite costs about $320 and is worth every penny.  If that&#8217;s too rich for you, then for about $30 you can just purchase the <a href="http://www.monkeybreadsoftware.de/realbasic/plugin-png.shtml">PNG plugin part</a> which is what is used to replace PNG Utilities.</p>
<p>The code using the MonkeyBread PNG plugin looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;">Me.SaveToolButton.Icon = PNGStringToPictureMBS(save32, 0)</pre></div></div>

<p>As you can see it is extremely similar.  In addition, the MonkeyBread PNG plugin is about the same size (1.3MB) as the PNG Utilities plugin.</p>
<h2>Einhugur GraphicsFormats</h2>
<p>The Einhugur plugin suite contains several new controls for REALbasic in addition to the <a href="http://www.einhugur.com/Html/GraphicsFormats/index.html">GraphicsFormats plugin</a> which works with PNG and JPEG images.  The entire suite costs $200 and it is also worth every penny.</p>
<p>The code using this plugin:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Dim</span> PNGImp <span style="color: #000080;">As</span> <span style="color: #000080;">New</span> PngImporter
Me.SaveToolButton.Icon = PNGImp.OpenFromString(save32)</pre></div></div>

<p>The GraphicsFormats plugin is bigger than PNG Utilities (5.7MB) so your executable will grow a bit.</p>
<h2>Summary</h2>
<p>As you can see, if you already have these two plugin suites, switching to them is quite easy.  If you don&#8217;t already have them, then you probably ought to pick them up in general because they add so much power to REALbasic.</p>
<p>However, in the short term, I see no problem sticking with PNG Utilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbdevzone.com/2008/10/png-utilities-replacements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PNG Utilities Deprecated</title>
		<link>http://www.rbdevzone.com/2008/08/png-utilities-deprecated/</link>
		<comments>http://www.rbdevzone.com/2008/08/png-utilities-deprecated/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 02:53:28 +0000</pubDate>
		<dc:creator>Paul Lefebvre</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.rbdevzone.com/2008/08/png-utilities-deprecated/</guid>
		<description><![CDATA[I just noticed that one of my favorite plugins, PNG Utilities, has been deprecated by the developer (Chaotic Box).  I often used PNG Utilities in my projects to load icon files because it worked well and was free.  Although it still works fine with REALbasic 2008 Release 3.1, it will no longer be [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that one of my favorite plugins, PNG Utilities, has been deprecated by the developer (<a href="http://developer.chaoticbox.com/">Chaotic Box</a>).  I often used PNG Utilities in my projects to load icon files because it worked well and was free.  Although it still works fine with REALbasic 2008 Release 3.1, it will no longer be updated should problems arise in newer versions of REALbasic.</p>
<p>Both the Einhugur and MonkeyBread plugins have equivalent functionality, so I will probably start transitioning to them when I can.</p>
<p>All hope is not lost, however.  PNG Utilities has always been an open-source project and the download includes the C++ source for CodeWarrior (Windows), XCode (OS X) and GCC (Linux).  Should a problem arise, perhaps the community will be able to step up and provide an updated version.</p>
<p>Or perhaps someone reading this is looking for a plugin project to take on?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbdevzone.com/2008/08/png-utilities-deprecated/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PNG Utilities Tip</title>
		<link>http://www.rbdevzone.com/2008/02/png-utilities-tip/</link>
		<comments>http://www.rbdevzone.com/2008/02/png-utilities-tip/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 01:06:49 +0000</pubDate>
		<dc:creator>Paul Lefebvre</dc:creator>
				<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://www.rbdevzone.com/2008/02/png-utilities-tip/</guid>
		<description><![CDATA[I have a lot of icons in PNG format with built in masks that I like to use in my toolbars.  Although REALbasic loads the pictures fine with FolderItem.OpenAsPicture, it doesn&#8217;t load the mask, so I use the free PNG Utilities plug-in instead.
One annoyance I&#8217;ve had with this is that the PNG files need [...]]]></description>
			<content:encoded><![CDATA[<p>I have a lot of icons in PNG format with built in masks that I like to use in my toolbars.  Although REALbasic loads the pictures fine with FolderItem.OpenAsPicture, it doesn&#8217;t load the mask, so I use the free <a href="http://developer.chaoticbox.com/">PNG Utilities</a> plug-in instead.</p>
<p>One annoyance I&#8217;ve had with this is that the PNG files need to be loaded at run-time.  Dragging them into the project didn&#8217;t work; REALbasic would convert them and lose the mask.  But it turns out there is a trick, posted to the REALbasic NUG mailing list by none other than Frank Condello, author of PNG Utilities.  The trick is to rename your PNG files so that they don&#8217;t have a PNG extension (I used PNGDAT).  Then you can drag them into your project; REALbasic will just import them as binary strings.</p>
<p>From there you can use the PNGu.GetPictureWithMask(name) method to convert the string into a picture object that you can then use with the toolbar.  Perfect!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbdevzone.com/2008/02/png-utilities-tip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
