<?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>Codec &#187; screen</title>
	<atom:link href="http://www.trembl.org/codec/tag/screen/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trembl.org/codec</link>
	<description>A Personal Polylogic Code/Decode &#039;Zettelkasten&#039;</description>
	<lastBuildDate>Fri, 10 Sep 2010 09:12:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Programmatically capture UIView</title>
		<link>http://www.trembl.org/codec/355/</link>
		<comments>http://www.trembl.org/codec/355/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 07:59:08 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[capture]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[pixel]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[UIView]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=355</guid>
		<description><![CDATA[Ok, a bit late to the party. Apple officially approved the use of UIGetScreenImage(). After carefully considering the issue, Apple is now allowing applications to use the function UIGetScreenImage() to programmatically capture the current screen contents. The function prototype is as follows: CGImageRef UIGetScreenImage&#40;void&#41;; https://devforums.apple.com/message/149553 How to caputure a view, ideally the live input of [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, a bit late to the party. Apple officially approved the use of UIGetScreenImage().</p>
<blockquote><p>After carefully considering the issue, Apple is now allowing applications to use the function UIGetScreenImage() to programmatically capture the current screen contents.  The function prototype is as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">CGImageRef UIGetScreenImage<span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>;</pre></div></div>

</blockquote>
<p><a href="https://devforums.apple.com/message/149553">https://devforums.apple.com/message/149553</a></p>
<p><del datetime="2010-01-22T08:19:38+00:00">How to caputure a view, ideally the live input of the camera? Unfortunaly there&#8217;s no clean and clear interface for that. Only the undocumented UIGetScreenCapture() call:</del></p>
<p><a href="http://www.iphonedevsdk.com/forum/iphone-sdk-development/11219-screenshots-we-allowed-use-uigetscreenimage.html">http://www.iphonedevsdk.com/forum/iphone-sdk-development/11219-screenshots-we-allowed-use-uigetscreenimage.html</a></p>
<p><a href="http://stackoverflow.com/questions/1531815/takepicture-vs-uigetscreenimage">http://stackoverflow.com/questions/1531815/takepicture-vs-uigetscreenimage</a></p>
<p><a href="http://svn.saurik.com/repos/menes/trunk/iphonevnc/iPhoneVNC.mm">http://svn.saurik.com/repos/menes/trunk/iphonevnc/iPhoneVNC.mm<br />
</a></p>
<p><a href="http://blogs.oreilly.com/iphone/2008/10/creating-a-full-screen-camera.html<br />
">http://blogs.oreilly.com/iphone/2008/10/creating-a-full-screen-camera.html<br />
</a></p>
<p>But since UIGetScreenCapture() is an undocumented call (in 3.1), here are official ways to get the content of a view.</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">UIGraphicsGetImageFromCurrentImageContext<span style="color: #002200;">&#40;</span><span style="color: #002200;">&#41;</span>;</pre></div></div>

<p><a href="http://icodeblog.com/2009/07/27/1188/">http://icodeblog.com/2009/07/27/1188/</a></p>
<p><a href="http://www.elrepositorio.com/?p=31">http://www.elrepositorio.com/?p=31</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/355/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
