Roly Poly Goblinoli Posted August 22, 2014 Posted August 22, 2014 (edited) Overview This plugin lets you change the RGB, HSV, or alpha channel of the image. It replaces my old Saturation to Alpha plugin and a lot of other users' channel-manipulating plugins. After choosing a channel to manipulate, you can perform arithmetic operations, inversion, channel swapping, contrast and truncation. Located in the Adjustments tab. Purpose and Application I find this useful mainly to set the alpha of an image and colorize a grayscale image, since you can't color a grayscale image using the Hue/Saturation tool if it has 0 saturation. Truncation makes a neat 4-bit or 8-bit effect, I suppose. Options Invert: Takes the maximum value of the channel and subtracts the current value from it, then overwrites the current value with this new one. Overwrite: Choose a channel, then choose a second channel to replace it. The value of the first channel is overwritten by the value of the second channel. This does not swap their values. Set: Directly set the value of a channel. Sharpen: Increase the contrast of the channel. This does not decrease contrast. Add: Add a value to each pixel in the selected channel. Subtract: Subtract a value to each pixel in the selected channel. Multiply: Multiply a value to each pixel in the selected channel. Divide: Divide a value to each pixel in the selected channel. Make less than: Clamps the maximum value of each channel to the set value. Make greater than: Clamps the minimum value of each channel to the set value. Truncate: Makes all values in the selected channel multiples of the set value.Remarks This effect can closely simulate my "color to alpha" and "truncate resolution" plugins. It can simulate the "Transparency" plugin perfectly. It can simulate BoltBait's "gray to alpha" fairly well. It can perform "Black and White" and "Invert Colors". I will probably update this at some point to make it more professional and allow multiple-channel adjustments at one time. Download: Channel Operations Source code: Github Source code usage before the MIT license was applied is not restricted by that license. I just had to choose a license because "no license" was ambiguous. Edited October 5, 2021 by NinthDesertDude update link 1 Quote
Roly Poly Goblinoli Posted August 23, 2014 Author Posted August 23, 2014 This has been updated to include rgb and hsv as channels. Changing rgb is the same as changing brightness. Changing hsv can produce some very strange effects, especially with truncate. Quote
toe_head2001 Posted August 23, 2014 Posted August 23, 2014 What rights do we have in relation the source code? I see no license.... Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab
Roly Poly Goblinoli Posted August 24, 2014 Author Posted August 24, 2014 (edited) What rights do we have in relation the source code? I see no license.... I am one of the most avid supporters of free code that you will find. It's free as in I don't care if you take the exact same code, sell it somehow, and magically make millions. There is no license and there will not be one. Edited August 24, 2014 by AnthonyScoffler 1 Quote
david.atwell Posted August 25, 2014 Posted August 25, 2014 Awesome! Thanks for contributing. One thing to note, though; unless you expressly release all rights, you have implicitly retained all rights. That's just the way IP law in the USA works. Nice for creators, too. Quote The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him.
Seerose Posted August 31, 2014 Posted August 31, 2014 @AnthonyScoffler! Many thanks for your hard work. 1 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi
Roly Poly Goblinoli Posted July 21, 2017 Author Posted July 21, 2017 On 8/25/2014 at 7:00 AM, david.atwell said: Awesome! Thanks for contributing. One thing to note, though; unless you expressly release all rights, you have implicitly retained all rights. That's just the way IP law in the USA works. Nice for creators, too. As of 2017, I agree. I'm licensing it under the MIT license. Naturally, anybody that used the source code before then retains my explicit permission grant to use it in any way imaginable (without the MIT clause of retaining the MIT clause). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.