Scripting command: rgbshift [Shift=1...200] [Channel=0...3] [Right=0...1]
This operator shifts (logically, rotates) entire lines of red, green, and/or blue pixels leftwards or rightwards through an image horizontally based on the top and bottom of the area selection — not the area selection itself.
In single-channel modes, pixels shift through the image within that channel; that is, pixels that shift out one side of the selected red, green or blue channel will re-enter on the other side of that same channel, still moving in the same direction.
When Shift All ⇳ is selected, in a left shift, blue pixels that shift out the left side will shift into the right side of the green channel; green pixels that shift out the left side will shift into the right side of the red channel; and red pixels that shift out the left side will shift into the right side of the blue channel.
When Shift All ⇳ is selected, in a right shift, red pixels that shift out the right side will shift into the left side of the green channel; green pixels that shift out the right side will shift into the left side of the blue channel; and blue pixels that shift out the right side will shift into the left side of the red channel.
Please consider supporting my iToolBox development efforts with a small PayPal donation. |