<?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>Thoughts on Design &#187; Photoshop</title>
	<atom:link href="http://www.jamischarles.com/blog/category/photoshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamischarles.com/blog</link>
	<description>Thoughts on Web Design and Front-end Coding. Served up Monthly by Jamis Charles</description>
	<lastBuildDate>Fri, 06 Jan 2012 21:11:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Break; and continue; in javascript loops</title>
		<link>http://www.jamischarles.com/blog/break-and-continue-in-javascript-loops/</link>
		<comments>http://www.jamischarles.com/blog/break-and-continue-in-javascript-loops/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 14:40:22 +0000</pubDate>
		<dc:creator>jamis</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=35</guid>
		<description><![CDATA[Break; and continue; statements are essential when working with complex loops. They can be very useful. You can use them to end a loop prematurely, or skip the rest of the loop to start over at the beginning. Here is how you implement it: &#60;script type="text/javascript"&#62; //build our array var array1 = new Array(); array1[0] [...]]]></description>
			<content:encoded><![CDATA[<p>Break; and continue; statements are essential when working with complex loops. They can be very useful. You can use them to end a loop prematurely, or skip the rest of the loop to start over at the beginning. Here is how you implement it:</p>
<pre class="js">&lt;script type="text/javascript"&gt;
//build our array
var array1 = new Array();
array1[0] = 0;
array1[1] = 1;
array1[2] = 2;
array1[3] = 3;
array1[4] = 4;

var numArray = array1.length;
for(var i=0; i&lt;numarray ; i++){
	if (array1[i] == 2){
		continue; //skip to the end of the for loop, then start over after incrementing by 1
	}else if (array1[i] == 3){
		break; //end the for loop, and execute code after the loop
	}

	alert("still in for loop: " + i);
}
	alert("after for loop: " + i);
&lt;/script&gt;</pre>
<p>The above code should have created popups for the numbers &#8220;0&#8243;, &#8220;1&#8243;, and &#8220;3&#8243;. This is because the &#8220;continue;&#8221; statement makes the code skip to the end of the loop, not executing any of the rest of the loop code, then starts over at the beginning of the loop after incrementing i by 1.</p>
<p>The &#8220;break;&#8221; statement causes the loop to end and the code after the loop to be executed. i is NOT incremented anymore and thus remains at 3.</p>
<p>You can also use &#8220;return;&#8221; to just end a function prematurely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamischarles.com/blog/break-and-continue-in-javascript-loops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making an Image look warmer and brighter</title>
		<link>http://www.jamischarles.com/blog/making-an-image-look-warmer-and-brighter/</link>
		<comments>http://www.jamischarles.com/blog/making-an-image-look-warmer-and-brighter/#comments</comments>
		<pubDate>Mon, 14 May 2007 23:05:10 +0000</pubDate>
		<dc:creator>jamis</dc:creator>
				<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=3</guid>
		<description><![CDATA[Often we are presented with images that we need to use that do not look very good. This tutorial provides a way to make poor images look better. In Photoshop, open the offending image. Duplicate the current image with Layer-&#62;Duplicate Layer Change the blend mode to &#8220;overlay style&#8221; Select Image-&#62;Adjustments-&#62;Hue/Saturation Reduce the saturation down to [...]]]></description>
			<content:encoded><![CDATA[<p>Often we are presented with images that we need to use that do not look very good. This tutorial provides a way to make poor images look better.</p>
<ol>
<li>In Photoshop, open the offending image.</li>
<li> Duplicate the current image with Layer-&gt;Duplicate Layer</li>
<li>Change the blend mode to &#8220;overlay style&#8221;</li>
<li>Select Image-&gt;Adjustments-&gt;Hue/Saturation</li>
<li>Reduce the saturation down to a pleasant level</li>
<li>Reduce the opacity on the top image layer until it looks good.</li>
<li>Compare the 2 images by toggling the visibility of the top layer
<p>Enjoy</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jamischarles.com/blog/making-an-image-look-warmer-and-brighter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

