<?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: Beginning iPhone Development: Exploring the iPhone SDK</title>
	<atom:link href="http://www.matthewbull.net/2009/05/24/beginning-iphone-development-exploring-the-iphone-sdk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.matthewbull.net/2009/05/24/beginning-iphone-development-exploring-the-iphone-sdk/</link>
	<description>web development and photography</description>
	<lastBuildDate>Fri, 29 Jan 2010 22:11:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: matthew</title>
		<link>http://www.matthewbull.net/2009/05/24/beginning-iphone-development-exploring-the-iphone-sdk/comment-page-1/#comment-316</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Sun, 11 Oct 2009 09:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.matthewbull.net/2009/05/24/beginning-iphone-development-exploring-the-iphone-sdk/#comment-316</guid>
		<description>Well, I found it tricky because I&#039;d not done any image processing before, and hadn&#039;t even done much C programming. However this code on googlecode was helpful to get started:
&lt;a href=&quot;http://code.google.com/p/simple-iphone-image-processing/&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/simple-iphone-image-processing/&lt;/a&gt;

The code didn&#039;t seem to work as-is with colour, but with some hacking around you should be able to get it working.

Basically you just have to remember that each pixel in a colour image has three 8-bit colour channels and an alpha channel, each with values between 0 and 255. So processing an image consists of looping through bytes 1-4, 5-8, etc (ie pixel by pixel), modifying the values for each byte (channel) to get the colour you want for the overall pixel.

The principle is simple, but getting it right in practice is a bit fiddly.

Good luck!</description>
		<content:encoded><![CDATA[<p>Well, I found it tricky because I&#8217;d not done any image processing before, and hadn&#8217;t even done much C programming. However this code on googlecode was helpful to get started:<br />
<a href="http://code.google.com/p/simple-iphone-image-processing/" rel="nofollow">http://code.google.com/p/simple-iphone-image-processing/</a></p>
<p>The code didn&#8217;t seem to work as-is with colour, but with some hacking around you should be able to get it working.</p>
<p>Basically you just have to remember that each pixel in a colour image has three 8-bit colour channels and an alpha channel, each with values between 0 and 255. So processing an image consists of looping through bytes 1-4, 5-8, etc (ie pixel by pixel), modifying the values for each byte (channel) to get the colour you want for the overall pixel.</p>
<p>The principle is simple, but getting it right in practice is a bit fiddly.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Williams</title>
		<link>http://www.matthewbull.net/2009/05/24/beginning-iphone-development-exploring-the-iphone-sdk/comment-page-1/#comment-315</link>
		<dc:creator>Bob Williams</dc:creator>
		<pubDate>Sun, 11 Oct 2009 04:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.matthewbull.net/2009/05/24/beginning-iphone-development-exploring-the-iphone-sdk/#comment-315</guid>
		<description>Getting ready to start iPhone development project that will need to take a photo and then modify it. Can you give me some good reference sites to get me started. 

Thanks in advance
Bob Williams</description>
		<content:encoded><![CDATA[<p>Getting ready to start iPhone development project that will need to take a photo and then modify it. Can you give me some good reference sites to get me started. </p>
<p>Thanks in advance<br />
Bob Williams</p>
]]></content:encoded>
	</item>
</channel>
</rss>
