<?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: Custom Camera applications development using iPhone SDK</title>
	<atom:link href="http://www.enterra-inc.com/techzone/custom-camera-applications-development-using-iphone-sdk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.enterra-inc.com/techzone/custom-camera-applications-development-using-iphone-sdk/</link>
	<description>Enterra Inc technical blog</description>
	<lastBuildDate>Thu, 17 Sep 2009 09:13:21 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.enterra-inc.com/techzone/custom-camera-applications-development-using-iphone-sdk/comment-page-1/#comment-811</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 17 Sep 2009 09:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://techzone.enterra-inc.com/architecture/custom-camera-applications-development-using-iphone-sdk/#comment-811</guid>
		<description>1. Yes, since you have CGImageRef instance, you can get any image-related information using set of CGImage* functions (like CGImageGetBitsPerPixel). If you need raw pixel data, you can use CGImageGetDataProvider and CGDataProviderCopyData. There are a few useful links: 

http://developer.apple.com/mac/library/qa/qa2007/qa1509.html
http://stackoverflow.com/questions/144250/how-to-get-the-rgb-values-for-a-pixel-on-an-image-on-the-iphone
http://stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics

2. I think you cannot modify that frozen image directly - you should use a view (UIImageView) that contains required filter (image) and overlays that frozen image. Simply add the view as a subview above the frozen image view.

Please notice that SDK 3.x provides completely different UIImagePicker views and the article and sample code need to be rewritten.</description>
		<content:encoded><![CDATA[<p>1. Yes, since you have CGImageRef instance, you can get any image-related information using set of CGImage* functions (like CGImageGetBitsPerPixel). If you need raw pixel data, you can use CGImageGetDataProvider and CGDataProviderCopyData. There are a few useful links: </p>
<p><a href="http://developer.apple.com/mac/library/qa/qa2007/qa1509.html" rel="nofollow">http://developer.apple.com/mac/library/qa/qa2007/qa1509.html</a><br />
<a href="http://stackoverflow.com/questions/144250/how-to-get-the-rgb-values-for-a-pixel-on-an-image-on-the-iphone" rel="nofollow">http://stackoverflow.com/questions/144250/how-to-get-the-rgb-values-for-a-pixel-on-an-image-on-the-iphone</a><br />
<a href="http://stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics" rel="nofollow">http://stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics</a></p>
<p>2. I think you cannot modify that frozen image directly &#8211; you should use a view (UIImageView) that contains required filter (image) and overlays that frozen image. Simply add the view as a subview above the frozen image view.</p>
<p>Please notice that SDK 3.x provides completely different UIImagePicker views and the article and sample code need to be rewritten.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://www.enterra-inc.com/techzone/custom-camera-applications-development-using-iphone-sdk/comment-page-1/#comment-810</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Wed, 16 Sep 2009 15:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://techzone.enterra-inc.com/architecture/custom-camera-applications-development-using-iphone-sdk/#comment-810</guid>
		<description>another question: can I also superpose an image on the forzen image? can i for instance use a filter that print a glass and mustache mask on the screen and then, behind have the taken picture?

thanks again, 
Alex</description>
		<content:encoded><![CDATA[<p>another question: can I also superpose an image on the forzen image? can i for instance use a filter that print a glass and mustache mask on the screen and then, behind have the taken picture?</p>
<p>thanks again,<br />
Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://www.enterra-inc.com/techzone/custom-camera-applications-development-using-iphone-sdk/comment-page-1/#comment-809</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Wed, 16 Sep 2009 15:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://techzone.enterra-inc.com/architecture/custom-camera-applications-development-using-iphone-sdk/#comment-809</guid>
		<description>Great article, really!
thanks for your help.
can I also in some way get information out of this sfrozen picture as for instance the color of a pixel?</description>
		<content:encoded><![CDATA[<p>Great article, really!<br />
thanks for your help.<br />
can I also in some way get information out of this sfrozen picture as for instance the color of a pixel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jakarta08</title>
		<link>http://www.enterra-inc.com/techzone/custom-camera-applications-development-using-iphone-sdk/comment-page-1/#comment-671</link>
		<dc:creator>jakarta08</dc:creator>
		<pubDate>Mon, 08 Dec 2008 23:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://techzone.enterra-inc.com/architecture/custom-camera-applications-development-using-iphone-sdk/#comment-671</guid>
		<description>Great article! Helped a lot to understand the architecture.
Are you aware that this doesn&#039;t work with OS2.2 however.
The hidden imageRef is gone. 

Any ideas how to get the reference to the original image?
BTW: iUniqable crashes with 2.2</description>
		<content:encoded><![CDATA[<p>Great article! Helped a lot to understand the architecture.<br />
Are you aware that this doesn&#8217;t work with OS2.2 however.<br />
The hidden imageRef is gone. </p>
<p>Any ideas how to get the reference to the original image?<br />
BTW: iUniqable crashes with 2.2</p>
]]></content:encoded>
	</item>
</channel>
</rss>
