ReMake Posted April 30, 2020 Posted April 30, 2020 This effect allows you to change the color transparency separately in the R, G, and B channels. Download from my PluginPack You can find this effect in Adjustments menu. This effect has a simple intuitive interface. The English or Russian interface of the effect is detected automatically. Original image: Result of applying the effect with default settings: The result of applying the effect with the Invert checkbox checked: CodeLab source code: Spoiler // Name:Transparency RGB // Submenu: // Author:ReMake // Title:Transparency RGB // Version:1.0 // Desc:Adjustment of RGB channels transparency // Keywords:paint.net|effect|transparency|rgb // URL:https://www.getpaint.net/redirect/plugins.html #region UICode IntSliderControl Amount1 = 255; // [0,255,10] Red IntSliderControl Amount2 = 128; // [0,255,11] Green IntSliderControl Amount3 = 0; // [0,255,12] Blue CheckboxControl Amount4 = false; // Invert #endregion void Render(Surface dst, Surface src, Rectangle rect) { int R,G,B,A,color; ColorBgra CurrentPixel; for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { CurrentPixel = src[x,y]; R = CurrentPixel.R*(255 - Amount1)/255; G = CurrentPixel.G*(255 - Amount2)/255; B = CurrentPixel.B*(255 - Amount3)/255; color = R + G + B; A = 255 - color; if (Amount4) { A = 255 - A; } if (CurrentPixel.A == 0) {A = 0;} CurrentPixel.A = Int32Util.ClampToByte(A); dst[x,y] = CurrentPixel; } } } private void OnWindowHelpButtonClicked(IWin32Window owner, string helpContent) { MessageBox.Show(owner, "Transparency RGB v1.0\n\nSeparate transparency adjustment for red,green, and blue channels.\n\nCopyright ©2020 by ReMake\nAll rights reserved.", "Transparency RGB", MessageBoxButtons.OK, MessageBoxIcon.Information); } and icon If the original image had transparent sections, they will be keep. I hope you will find a use for this effect. 4 2 Quote
Vagabondi Posted May 1, 2020 Posted May 1, 2020 13 hours ago, ReMake said: This effect has a simple intuitive interface. #ReMakeStyle Thank you, this can be definitely useful. 1 Quote my gallery is here
ReMake Posted May 1, 2020 Author Posted May 1, 2020 Nice work, @Vagabondi! Thank you for sharing! I like your ability to blending images. Quote
Pixey Posted May 1, 2020 Posted May 1, 2020 Ooooo - this looks like a very useful Plugin @ReMake. Thank you very much 1 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.
juan2go Posted May 14, 2020 Posted May 14, 2020 how do i install transparencyRGB IN WINDOWS 10 , IT IS AN APP Quote
juan2go Posted May 14, 2020 Posted May 14, 2020 HOW DO I INSTALL Install transparency RGB .dll in windows 10 . it is now an app. I used to be able to locate the folder and install , but now its windowsAPP folder. it doesn't show the same folders now . Quote
ReMake Posted May 14, 2020 Author Posted May 14, 2020 Classic version: C:\Program Files\paint.net\Effects Store version: Documents\paint.net App Files\Effects See: How to Install Paint.NET Plugins Quote
ReMake Posted May 14, 2020 Author Posted May 14, 2020 (edited) <snip> Edited May 15, 2020 by ReMake wrong message 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.