[Pixelle-commit] SF.net SVN: pixelle: [152] trunk/pixelle/src/com/mebigfatguy/pixelle/ resources/al
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-07-08 03:35:36
|
Revision: 152
http://pixelle.svn.sourceforge.net/pixelle/?rev=152&view=rev
Author: dbrosius
Date: 2008-07-07 20:35:36 -0700 (Mon, 07 Jul 2008)
Log Message:
-----------
switch to separations using gcr
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/resources/algorithms.xml
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/resources/algorithms.xml
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/resources/algorithms.xml 2008-07-08 03:20:22 UTC (rev 151)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/resources/algorithms.xml 2008-07-08 03:35:36 UTC (rev 152)
@@ -21,16 +21,16 @@
<algorithms xmlns="http://pixelle.mebigfatguy.com/0.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com note.xsd">
- <group name="Blends">
- <algorithm name="simple">
+ <group name="Separations">
+ <algorithm name="cyan">
<component name="red">
- x
+ (255 - p[x,y].r) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
</component>
<component name="green">
- y
+ (255 - p[x,y].r) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
</component>
<component name="blue">
- width-x
+ (255 - p[x,y].r) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
</component>
<component name="transparency">
255
@@ -39,5 +39,56 @@
0
</component>
</algorithm>
+ <algorithm name="magenta">
+ <component name="red">
+ (255 - p[x,y].g) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="green">
+ (255 - p[x,y].g) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="blue">
+ (255 - p[x,y].g) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="transparency">
+ 255
+ </component>
+ <component name="selection">
+ 0
+ </component>
+ </algorithm>
+ <algorithm name="yellow">
+ <component name="red">
+ (255 - p[x,y].b) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="green">
+ (255 - p[x,y].b) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="blue">
+ (255 - p[x,y].b) - min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="transparency">
+ 255
+ </component>
+ <component name="selection">
+ 0
+ </component>
+ </algorithm>
+ <algorithm name="black">
+ <component name="red">
+ min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="green">
+ min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="blue">
+ min(min(255 - p[x,y].r, 255 - p[x,y].g), p[x,y].b)
+ </component>
+ <component name="transparency">
+ 255
+ </component>
+ <component name="selection">
+ 0
+ </component>
+ </algorithm>
</group>
</algorithms>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|