<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=PixCol</id>
		<title>PixCol - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=PixCol"/>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=PixCol&amp;action=history"/>
		<updated>2026-04-30T10:27:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=PixCol&amp;diff=5392&amp;oldid=prev</id>
		<title>Seg at 20:29, 25 October 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=PixCol&amp;diff=5392&amp;oldid=prev"/>
				<updated>2007-10-25T20:29:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{header| Miscellaneous Variables|ro|Holds the color of the last pixel saved using [[savePix]]. The colors returned by #pixCol are in the format $BBGGRR (where BB &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hex value of blue color channel, GG &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hex value of green color channel, RR &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hex value of red channel). All colors rendered on the screen are created from these 3 primary colors. Each color ranges from 0 (darkest) to 255 (brightest) -- or $00 to $FF.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Note|&lt;br /&gt;
*The client window '''must''' be unobscured by other windows in order for savePix and #pixColor to work.&lt;br /&gt;
* #pixCol values differ slightly from computer to computer.&lt;br /&gt;
*Most of the content of this page is shamelessly ripped off from a post that Cedryk made in the CC forum. Thanks for the knowledge Cedryk! --[[User:Kedrick Valorite|Kedrick Valorite]] }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
sub TestColor&lt;br /&gt;
; pass   %1   Color to Test&lt;br /&gt;
;   %2   Color to Match&lt;br /&gt;
;   %3   Channel Similarity&lt;br /&gt;
  set %_ct %1 &lt;br /&gt;
  set %_cm %2 &lt;br /&gt;
  set %_cs %3 &lt;br /&gt;
  gosub ColorChannels %_cm &lt;br /&gt;
  set %_rm %r &lt;br /&gt;
  set %_bm %b &lt;br /&gt;
  set %_gm %g &lt;br /&gt;
  gosub ColorChannels %_ct &lt;br /&gt;
  set %_rd %r - %_rm abs&lt;br /&gt;
  set %_bd %b - %_bm abs&lt;br /&gt;
  set %_gd %g - %_gm abs&lt;br /&gt;
  set %_result ( %_rd &amp;lt;= %_cs ) &amp;amp;&amp;amp; ( %_bd &amp;lt;= %_cs ) &amp;amp;&amp;amp; ( %_gd &amp;lt;= %_cs ) &lt;br /&gt;
return %_result&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=See Also=&lt;br /&gt;
{{Miscellaneous Variables}}&lt;/div&gt;</summary>
		<author><name>Seg</name></author>	</entry>

	</feed>