pena © 2014 by David Cook
The Swap Effect is very useful in Pena. Swap lets you exchange the color channels between Color 1 and Color 2.|
Remember that Color 2 is a working color and never is actually drawn to the Canvas. By using the Swap Effect you can swap Color 1 for Color 2, allowing Color 2 to be used to draw to the Canvas.
Another use for Swap is to exchange only certain color changes between Color 1 and Color 2. When used this way Swap becomes an image effect.
The Swap Effect has the following Options Pane:|
|Swap Red:||When set to a Green Check Mark, the Red Channel of Color 1 is exchanged with the Red Channel of Color 2.|
|Swap Green:||When set to a Green Check Mark, the Green Channel of Color 1 is exchanged with the Green Channel of Color 2.|
|Swap Blue:||When set to a Blue Check Mark, the Blue Channel of Color 1 is exchanged with the Blue Channel of Color 2.|
|Swap Alpha:||When set to a Alpha Check Mark, the Alpha Channel of Color 1 is exchanged with the Alpha Channel of Color 2.|
To show the Swap Effect we will take our Arches National Park image and load it into Slot 1 using the Texture Effect. In Slot 2 we have our 2-Color Gradient Effect with default values but Output Color 1 set to Ignore and Output Color 2 set to Replace.|
The image below shows our two source images:
In Slot 3 we load our Swap Effect. We set Swap Red, Swap Green, and Swap Alpha to a Red X (so they will not be exchanged) and Swap Blue to a Green Check Mark (so the blue channel will be exchanged). The resulting image looks like this:
Note that the Blue Channel of Color 1 (the Arches Photo) is now the 2-Color Gradient. The Red and Green Channel of Color 1 are unchanged. The blue channel of Color 2 (which we did not show you) is now the blue channel from the Arches photo.
Apple®, the Apple logo, iPad, iPad Air, iPad Mini, iPod, iPhone, and iTunes
are trademarks of Apple Inc., registered in the U.S. and other countries.
Wacom®, and Wacom Intuos Creative Stylus are trademarks of Wacom, registered in the U.S and other countries.