Jump to content

Search the Community

Showing results for tags 'adjustments'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Information
    • Forum Rules
    • Paint.NET Search
    • Official Paint.NET website
    • Help Files (paint.net's online documentation)
  • Paint.NET
    • Paint.NET Discussion and Questions
    • The Pictorium
    • Tutorials - Publishing ONLY!
    • Competitions
    • Plugins - Publishing ONLY!
    • Troubleshooting & Bug Reports
  • Off-Topic
    • Grand Theory of Everything
  • Paint.NET Programming / Development
    • Plugin Developer's Central
    • Preview Center
    • Translation and Localization

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


ICQ


Jabber


Skype


Location


Interests

  1. Download from my plugin set Improve Your Photography With Classical Art! Inspired by a similar feature in Adobe Photoshop, this plugin uses an existing image as a color template to recolor your image. Works best on photographs. Logos and simple graphics will usually look rather hideous. Adjustments > Color Match... Here are some samples, using Microsoft Windows Vista's Sample Pictures folder. For reference, we'll start with the original, before using the plugin: The rest show the source image in the corner: Click "Show" for more examples Download from my plugin set
  2. Download from my plugin set Get some really cool presets by ssaamm: http://forums.getpaint.net/index.php?/topic/21783-vintage-effect-pack-for-curves/ Here's what Rick Brewster has to say on the matter: Paint.NET Plugin spotlight: Curves+ This adjustment appears in the Adjustments menu. Amazing! Adjustments > Curves+ Curves+ is exactly like the Curves adjustment that comes with Paint.NET. OK, not really. It is actually far more powerful. Enjoy Download from my plugin set For developers:Curves+ is on GitHub! https://github.com/bsneeze/pdn-curvesplus
  3. This effect is similar to the Photoshop's Dynamic Contrast filter and allows you to create images with high contrast. You can find this effect in Adjustments menu. Download from my PluginPack Amount - the range of adjustment of contrast. Threshold - sets the threshold for enabling a color (and its shades) or a mixture of colors in the Blue -> Red -> Green direction. Intensity - sets the pixel intensity of the image. When Amount = 0, the Threshold and Intensity controls have no effect on the image and are therefore disabled. Examples of the plugin work: Before: After: CodeLab source code: To have a clearer understanding of how this effect works, upload the image below. Run the effect. Set the Amount and Threshold controls to the leftmost position. Slowly move the Threshold control to the rightmost position and watch the colors contrast change. Set the Amount control to the rightmost position and move the Threshold control again from left to right, watching the colors change. View how the effect works with different settings on all three sliders. Here are some examples: I hope you will like this effect and find a use for it.
  4. Even though I have done this sort of thing for G'MIC-QT as a cli command, I decided to make it as a plugin just out of doing something different. What this plugin does is modulo functions, but on the end of modulo expression, the value is added by 1. Essentially useful for gradient map preparation, and that's the main reason why this exist. It can also be used for glitch art. Plugin Download - Image Modulo Toolkit.zip - ( Added new features in 10/09/2020 - Clipboard, Invert ) After you install the plugin, it's under Adjustments menu. Here's examples of how it works using various Mode option and 64 as the maximum resulting number. Target Image Regular Modulo Regular Modulo Continuous Divisive Modulo Divisive Modulo Continuous Modulo Addition Modulo Addition Continuous ------------- Introduction to new features Clipboard - The main purpose of using this is to create new gradients from existing gradient. Invert* - Before - - After - Invert* = This is mainly used to choose darkening option over lightening option in case of Modulo Addition series ------------- Special note : I will not be adding features to this plugin. If you want to add features, you are welcome to do so and post it in this thread. Otherwise, I will refer you to my g'mic-qt filter which is Modulus Operations which is under Testing->Reptorian License : GPLv3 - Source codes - CodeLab G'MIC-QT EDIT: @toe_head2001 has provided cleaner code of the current plugin. So I inserted it in here for quicker access. EDIT: Added new features in 10/09/2020 EDIT: Added G'MIC-QT source code to the g'mic-qt filter, and a special note for feature requests.
  5. 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: If the original image had transparent sections, they will be keep. I hope you will find a use for this effect.
  6. This plugin allows to you adjust the saturation of the red, green and blue colors each one separately. You can find this effect in Adjustments menu. Download from my PluginPack Examples of the plugin work: @ingwer has made amazing video about use of this effect. See the topic CodeLab - First Steps (Saturation RGB) for information about how to create this effect. I hope this effect will be applied in your work.
  7. 'Color Matrix' Adjustment Plugin Summary Adjusts all individual pixels in the selected area of the active layer using a color transformation matrix. The plugin contains a set of predefined matrices to manipulate the individual RGBA channels, adapt transparency or to simulate the effect of different color blindness defects. Changing the matrix will show 'User defined' in the preset selector. Here the list of presets: Identity - Does nothing RGB (solid) - Sets the alpha channel to solid RGB (inverted) - Inverts the RGB channels and keeps alpha RGB to Gray - Converts RGB to gray and keeps alpha RGB to Gray (inverted) RGB to Transparency RGB to Transparency (inverted) RGB to BGR (or back) RGB to Sepia Red to Gray (solid) Red only (solid) Green to Gray (solid) Green only (solid) Blue to Gray (solid) Blue only (solid) Transparency to Gray (solid) Transparency to Gray (solid, inverted) Transparency only Cyan only (solid) Magenta only (solid) Yellow only (solid) Red-Blind (Protanopia) Red-Weak (Protanomaly) Green-Blind (Deuteranopia) Green-Weak (Deuteranomaly) Blue-Blind (Tritanopia) Blue-Weak (Tritanomaly) Monochromacy (Achromatopsia) Weak Monochromacy (Achromatomaly) How does it work? The following formula is applied to each pixel: (R,G,B,A,255) = (((R,G,B,A,255) / 255) * matrix) * 255 Result values <0 or >255 are clamped. The render code is simple because it just provides the image and the matrix to Windows GDI+. Keywords Adjustment, Color matrix, Color blindness Author Martin Osieka Download Find the latest version of the plugin ColorMatrix v1.1 (25.6.2015) here: ColorMatrixEffectv1.1.zip Installation Follow the instructions carefully Unzip "ColorMatrix.Effect vX.X.zip" Copy the two files ColorMatrix.Effect.dll/.dlc to the Paint.NET\Effects\ folder A typical location is "C:\Program Files\Paint.NET\Effects". .dll contains the module code .dlc contains the module configuration (like translated text) Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (not to the Effects folder!) A typical location is "C:\Program Files\Paint.NET". After a restart of Paint.NET you will find the plugin at Menu->Adjustments->Color Matrix... oder für deutsche Anwender unter Menü->Korrekturen->Farbmatrix.. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch You may add your own translation to the .dlc file. Known issues None Example Using the matrix preset "RGB inverted" -1 0 0 0 0 0 -1 0 0 0 0 0 -1 0 0 0 0 0 1 0 1 1 1 0 1 Applying the formula R' = R/255; G' = G/255; B' = B/255; A' = A/255 R" = R' * -1 + G' * 0 + B' * 0 + A' * 0 + 1 = 1 - R' G" = R' * 0 + G' * -1 + B' * 0 + A' * 0 + 1 = 1 - G' B" = R' * 0 + G' * 0 + B' * -1 + A' * 0 + 1 = 1 - B' A" = R' * 0 + G' * 0 + B' * 0 + A' * 1 + 0 = A' R = R"*255; G = G"*255; B = B"*255; A = A"*255 History 1.1 (25.6.2015) - Added 'RGB (solid)' entry to set the alpha channel to opaque - Added column titles - Renamed the dll file. You have to remove the old ColorMatrix.dll/.dlc file - Updated OptionBasedLibrary 1.0 (16.5.2015) - First release
  8. This effect allows you to change the color intensity separately in the R, G, and B channels. It can be useful for giving a photo a retro effect or for changing the color of items in the image. Download from my PluginPack You can find this effect in Adjustments menu. The effect has a simple intuitive interface. Before: After: CodeLab source code: I hope you will like this effect and find a use for it.
  9. Two Tone Threshold Found under: Adjustments .dll name = TwoToneThreshold Two Tone Threshold is an Adjustment which assesses the tones in an image and apportions two colours between the thresholds. In other words it turns colour images into black & white! ... or set your Primary and Secondary colours to something more lurid! ... or Primary color and alpha etc etc. It's in my updated plugin pack Red ochre v10 plugin pack As with all plugins - try it, if you like it, keep it - if not, uninstall it! There are many other plugins with a similar function but I wanted one where I could easily adjust the contrast via two thresholds. Enjoy!
  10. I was adjusting some photographs the other day and kept having to toggle between the Brightness/Contrast adjustment and the Hue/Saturation/Lightness adjustment to get just the right colors. So... I combined all of the most common adjustments onto one screen: Then, I bundled in my Black and White+ plugin. NO MORE TOGGLING! Until I add this to my pack, download here: CombinedAdjustments.zip Install the normal way, unzip the download to your desktop and run the "Install" batch file. You'll find this in your Adjustments menu. Enjoy! 😎
  11. Adjustments > Invert Anything This plugin allows you to invert a pretty wide variety of things all in one plugin. I'm 99% sure most of this exists elsewhere, but there are a couple things that don't exist yet. Red/Green/Blue -- inverts the red, blue and/or green channels. Will essentially turn yellow into blue, red into cyan, and so on. Hue/Saturation/Value Inverts the hue, saturation or value. Alpha -- Inverts the alpha channel -- transparent pixels will become more opaque, and vice-versa. Fully transparent pixels will apparently turn black. Contrast This feature came from a different plugin I'm working on. Essentially you're inverting things on either side of the median. If you're doing this with red contrast+green contrast+blue contrast on something colorful, for example, you'll get an image that's significantly more gray. Something with more washed-out colors will become more colorful. Essentially you're pulling the colors further away from the median towards the median (making them gray) and vice-versa. Other effects work much the same way, except instead of the median being gray it'll be whatever the median value for that setting is -- hue contrast for example will pull things closer or further away from cyan because that's the median hue. Plugin Examples This plugin offers a large amount of options, so rather than show them all I'll show each individual setting and a few interesting combinations all in one image. First, here's a source image. This cat is pretty useful for testing color/adjustment plugins -- lots of different colors, a good bit of white and black as well. Here are some different settings. The "Everything" means "everything but alpha + alpha contrast". Download Link https://github.com/Xhin23/Paint.net-Plugins/blob/master/Invert_Anything.dll
  12. I've added an extra option which allows the post-effect Alpha values to be displayed as gray-scale colors. The intention is that this option would be ticked to allow the result of the effect to be easily assessed - and then untick before clicking OK. 32495_741da9c1d40fae38dc1154c962507162.Zip
  13. Adjustments > Remove Black This is a simple little plugin that turns black pixels into transparent pixels, then turns other pixels into alpha versions of themselves depending on their darkness so the effect is smoother. I apologize if this exists elsewhere -- the code is really really simple so I bet someone else has run across it. I doubt they have my threshold slider though. Threshold -- changes the amount of pixels that get alpha adjustments applied to them. Lower settings will have more of the image turning into alpha, higher settings will have smaller amounts. Let's take a look at the plugin: I've chosen this as my base image -- there is color here, but also a lot of darker pixels. On the layer underneath it, I have a circular rainbow texture I made with my Radial Prism plugin. Here's what your default settings look like. This essentially replaces the black pixels with the rainbow pixels in the layer underneath it in a smooth way. This has threshold set to 1 -- this tends to be the most intuitive use of the plugin, but also the least useful in my experience. Here's a higher threshold. Now the rainbow has essentially become an outline. Some tips for use I've been using this plugin for years despite not releasing it until today. Here's a couple things I've noticed: Putting a radial prism on the layer below an image works pretty fantastic across the board -- this forms the basis of my "pure color" technique where the image becomes nothing but color. If you use a Drop shadow when the plugin is set to a low threshold, you get some really good tinting effects. If you use black instead of a color you can smoothly append the underlayer, or if you have the image itself underneath it this is a great way of adding extra shadow without messing up the detail. I have an upcoming recoloring tutorial that uses this technique. Here's are a couple snippets where I've used the plugin to good effect with these techniques: Download Link https://github.com/Xhin23/Paint.net-Plugins/blob/master/Remove_Black.dll
  14. Download from my plugin set Tutorial by forum moderator David Atwell: The Wonderful World of Gradient Mapping Get some nice gradients here: Presets for Gradient Mapping by ReMake This adjustment appears in the Adjustments menu. Amazing! Adjustments > Gradient Mapping Use this plugin to create a custom gradient and map it to your image based on any supported input channel. One of the primary uses of this plugin is to create a multi-colored gradient. Just use Paint.NET's built-in gradient tools to draw the gradient shape you want, then use this plugin to create your desired gradient. Download from my plugin set For developers: Gradient Mapping is on GitHub! https://github.com/bsneeze/pdn-gradientmapping
  15. Plugin: TransparentToTransparentWhite.zip This is a trivial but sometimes useful adjustment that converts all transparent pixels to transparent white. I already had a plugin to convert transparent pixels to transparent black, but for those who only want to make all the transparent pixels the same color, transparent white may be preferable, since that's Paint.NET's usual transparent color. For example, it's the color used for Erase Selection.
  16. This plugin is all about "dimming" a certain channel, which means desaturating the highest-saturation pixels first and working its way down smoothly. There are also other RGB adjustment algorithms that add fine adjustment. First, let's look at the menu. ((NOTE)): Default settings should have all X-axis's set to 1.00. This makes the image appear as itself. Apologies, since I'm dealing with limitations in Codelab here. Red -- X axis -- Adjusts the red channel according to the "dimmer" algorithm. Red -- Y axis -- Adjusts the red channel according to a standard "levels" type algorithm. Green -- X axis -- Adjusts the green channel according to the "dimmer" algorithm. Green -- Y axis -- Adjusts the green channel according to a standard "levels" type algorithm. Blue -- X axis -- Adjusts the blue channel according to the "dimmer" algorithm. Blue -- Y axis -- Adjusts the blue channel according to a standard "levels" type algorithm. Proportional Shift -- Alters the Y-axis levels algorithm so the color shift is proportional to the distance between the current value and the max or min values. If that's confusing for you (it is!), here's a better explanation. If you use the in-built "levels" plugin in, say, red, it will raise or lower the red channel's value globally. So if you have a piece where one section has a red value of 60 and another section has a red value of 200, the "levels" algorithm will raise them both by a fixed amount. So the 60-red will now be 64-red and the 200-red will now be 204-red. More saturated sections will max out at 255, while all other red channels increase by that fixed amount. The Y-axis of each part of this plugin will follow this algorithm perfectly. However, if you turn on the "proportional shift" option, the channel will instead increase by a proportional amount. 155-red would increase to 205-red, while 55-red would increase to 155-red, because in both cases it's increasing by half the distance to 255. If you go in the negative direction, the setting would decrease each by its distance to 0, so for example 50-red would decrease to 25-red, while 100-red would decrease to 50-red. Combined with the fact that black pixels are ignored on the decrease and white pixels are ignored on the increase, this option gives a smoother color transition. Now, the X-axis algorithm is more complicated. What this does is "dims" a channel by decreasing the saturation, starting with the most saturated pixels and ending with the least. So your 255-reds and 244-reds are the first to be desaturated, while the 30-reds, etc wait until lower settings. The algorithm is set up in such a way that there are no jagged pixels, so this too is a smooth transition. Combined together, the two algorithms give a fine adjustment of all three channels. I stuck the controls into a double vector so it's easier to make adjustments without switching between sliders. It's hard to give examples of this plugin's use because the settings can be subtle. Nonetheless: Seed Image "Dimmed" Blue to 38. Same as above, but "leveled" blue to 0.47 Same as above, but proportional Unrelated to the above; increased all levels to the max with "proportional" on. Also unrelated; decreased all levels to the minimum with proportional on, and then dimmed blue to 0.49 Actual Plugin: Color Dimmer.zip
  17. Black and White+ version 1.1 Black and White+ includes 3 different algorithms to convert a color image into a black-and-white image. Luminosity Method Shade of Gray = 0.299 * Red + 0.587 * Green + 0.114 * Blue This is the default method. This is how the built-in Black-and-White effect converts a color image to black-and-white. This method gives different weights to Red, Green, and Blue. Other methods treat each color equally. Average Method Shade of Gray = (Red + Green + Blue) / 3 Lightness Method Shade of Gray = [Max(Red,Green,Blue) + Min(Red,Green,Blue)] / 2 Every color photograph is different. You'll just need to try each method to see which one works best for your specific photograph. Brightness/Contrast In addition to converting your photograph to black-and-white, I've also provided access to the Brightness and Contrast adjustments. For a more dramatic effect, decrease the brightness (try -10) and increase the contrast (try +10). Download Download this effect as part of my plugin pack: https://forums.getpaint.net/topic/113220-b Source Code Here is the icon: and here is the CodeLab source: // Name: Black and White+ // Author: BoltBait // Submenu: Adjustments // Title: BoltBait's Black and White+ v1.1 // Version: 1.1 // Desc: Convert image to Black and White // Keywords: Black and White|B&W // URL: http://BoltBait.com/pdn #region UICode ListBoxControl Amount1 = 0; // |Luminosity Method|Average Method|Lightness Method IntSliderControl Amount2 = 0; // [-100,100] Brightness/Contrast IntSliderControl Amount3 = 0; // [-100,100] #endregion BrightnessAndContrastAdjustment bacAdjustment = new BrightnessAndContrastAdjustment(); PropertyCollection bacProps; private double Max3(double x, double y, double z) { return (x > y) ? ((x > z) ? x : z) : ((y > z) ? y : z); } private double Min3(double x, double y, double z) { return (x < y) ? ((x < z) ? x : z) : ((y < z) ? y : z); } protected override void OnDispose(bool disposing) { if (disposing) { if (bacAdjustment != null) bacAdjustment.Dispose(); bacAdjustment = null; } base.OnDispose(disposing); } void PreRender(Surface dst, Surface src) { bacProps = bacAdjustment.CreatePropertyCollection(); PropertyBasedEffectConfigToken bacParameters = new PropertyBasedEffectConfigToken(bacProps); bacParameters.SetPropertyValue(BrightnessAndContrastAdjustment.PropertyNames.Brightness, Amount2); bacParameters.SetPropertyValue(BrightnessAndContrastAdjustment.PropertyNames.Contrast, Amount3); bacAdjustment.SetRenderInfo(bacParameters, new RenderArgs(dst), new RenderArgs(src)); } unsafe void Render(Surface dst, Surface src, Rectangle rect) { // Call the Brightness and Contrast Adjustment function bacAdjustment.Render(new Rectangle[1] {rect},0,1); for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; ColorBgra* dstPtr = dst.GetPointAddressUnchecked(rect.Left, y); for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = *dstPtr; byte K = CurrentPixel.R; if (!(CurrentPixel.R == CurrentPixel.G && CurrentPixel.G == CurrentPixel.B)) { switch (Amount1) { case 0: K = (byte)((0.299f * CurrentPixel.R) + (0.587f * CurrentPixel.G) + (0.114f * CurrentPixel.B)); break; case 1: K = (byte)((CurrentPixel.R + CurrentPixel.G + CurrentPixel.B) / 3.0); break; case 2: K = (byte)((Max3(CurrentPixel.R, CurrentPixel.G, CurrentPixel.B) + Min3(CurrentPixel.R, CurrentPixel.G, CurrentPixel.B)) / 2.0); break; default: break; } } CurrentPixel = ColorBgra.FromBgra(K,K,K,CurrentPixel.A); *dstPtr = CurrentPixel; dstPtr++; } } } Note: User MJW also made a Black and White+ plugin. His has way more adjustments than mine. I'm not sure, but you might be able to use his to get the same results as mine... I just couldn't figure out how to do it. If you like LOTS of things to tinker with, you might give his a try. The above is for Paint.NET v4.1.4+ Paint.NET v3.5.11 I'm sure someone will come along shortly and compile this for you.
  18. I know, very specific. This was made for a request I got from my friend ugng. He told me to publish it here in case some random dude comes up and wants to use this for whatever reason. Anyway! Posterize Alpha Limits the amount of steps in an alpha channel. Like posterize but for alpha channel Enjoy this spicy gif I made. Does this gif work? It doesn't work in the post preview. Hopefully it does. Love you all! UPDATE: added icon made by ugng alphalevels.dll
  19. Black and White+ is a simple plugin to convert an image to black and white. The primary additional option (that may or may not merit the "+") is the ability to specify the weights for each color channel. It's in the Adjustment menu. The plugin: The Help Menu description: Black and White+ converts a color image to a grayscale (or two-color) image. The controls are: Red Weight: The weight for the red channel when converting from color to brightness. Green Weight: The weight for the green channel when converting from color to brightness. Blue Weight: The weight for the blue channel when converting from color to brightness. Minimum-Channel Weight: The weight for the minimum channel when converting from color to brightness. Maximum-Channel Weight: The weight for the maximum channel when converting from color to brightness. Normalize Weights: When enabled, the weights will be divided by their sum so that the total weight is one. (Note: If only a single channel is non-zero, normalizing the weights will cause it to always have a weight of one.) Brightness: Increases or decreases the brightness. MIdpoint Adjustment: Increases or decreases the brightness of the center values while not affecting the lowest and highest values. Use Primary Color and Secondary Color: When enabled, the brightness will be used to interpolate between the Primary Color and the Secondary Color instead of black and white. Show Original Image: When enabled, the unmodified image will be displayed. The CodeLab code: The icon: Maximilian has a 3.5.11 version. EDIT (6/17/2018): Version 1.1. Added controls for min and max color channels. EDIT (6/18/2018): Version 1.1.6744.2631. Corrected website URL. BlackAndWhite+.zip
  20. This is my first plugin and though it's pretty basic (and might have been done before), I think it's useful. Essentially it takes a black and white image and converts it to a "black and transparent" image. The whole point is that if you have a sketch, applying this plugin will make all of the white parts transparent so that you can color it, add a background, whatever. Download the zipped DLL >> Isolate Lineart
  21. Transparent to Transparent Black is an utterly trivial Adjustment that changes all the transparent pixels to transparent black (0, 0, 0, 0). It can sometimes be useful, particularly when using the Texture Merger. DLL, Version 1.0: TransparentToTransparentBlack.zip The code:
  22. 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.
  23. SubLCD This is a usability update of @xrl's original SubLCD resize plugin. See changelog below. Adjustments -> SubLCD Features Example Images Before (Actual and Zoomed-in) After (Actual and Zoomed-in) Changelog v1.2 by toe_head2001 (Jan 9, 2016) Fixed: Now works properly on selections (for real this time). Rectangular selections worked, but non-rectangular did not. Fixed: Now works when run from the 'Plugin Browser' v1.1 by toe_head2001 (Oct 9, 2015) New: Pre-resize and post-crop are no longer necessary. Simply run the plugin. New: Now works properly on selections v1.0 by xrl (Jan 15, 2008) Initial release Download SubLCD.zip Source Code https://github.com/toehead2001/pdn-sublcd
  24. Due to a request here: http://forums.getpaint.net/index.php?/topic/111023-need-color-temperature-control-equivalent-to-windows-live-photo-gallery/ I created a Temperature / Tint Adjustment plugin. It is found under the Adjustment menu. User Interface: Algorithm: This is where I found the algorithm that I used: http://www.tannerhelland.com/5675/simple-algorithms-adjusting-image-temperature-tint/ Here you can visualize the sliders overlaid on the standard color wheel: CodeLab Script: // Name: Temperature/Tint // Submenu: Adjustment // Author: BoltBait // Title: BoltBait's Temperature/Tint v1.3 // Version: 1.3 // Desc: Adjust the Temperature or Tint of a photograph // Keywords: Temperature|Tint // URL: http://BoltBait.com/pdn #region UICode IntSliderControl Amount1 = 0; // [-20,20] Temperature IntSliderControl Amount2 = 0; // [-20,20] Tint CheckboxControl Amount3 = false; // [0,1] Preview original image #endregion private byte Clamp2Byte(int iValue) { if (iValue < 0) return 0; if (iValue > 255) return 255; return (byte)iValue; } unsafe void Render(Surface dst, Surface src, Rectangle rect) { for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; ColorBgra* srcPtr = src.GetPointAddressUnchecked(rect.Left, y); ColorBgra* dstPtr = dst.GetPointAddressUnchecked(rect.Left, y); for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = *srcPtr; if (!Amount3) { CurrentPixel.R = Clamp2Byte(CurrentPixel.R + Amount1); // Temperature CurrentPixel.B = Clamp2Byte(CurrentPixel.B - Amount1); // Temperature CurrentPixel.G = Clamp2Byte(CurrentPixel.G + Amount2); // Tint } *dstPtr = CurrentPixel; srcPtr++; dstPtr++; } } } Download: Download as part of my plugin pack, here: http://forums.getpaint.net/index.php?/topic/32048-v Support: This plugin is for paint.net 4.0.6+ If you are running Paint.NET 3.5.11, you can build your own copy using the CodeLab source above. You'll need to update the UICode region by replacing "IntSliderControl" with "int" and "CheckboxControl" with "bool". Or, if CodeLab scares you, download the 3.5.11 version here: http://forums.getpaint.net/index.php?/topic/111031-temperature-tint-adjustment/&do=findComment&comment=527785
  25. Overview Color Replacer can convert pixels in the current selection from one color to another. Pixels with colors that almost match (based on a % match called tolerance) will be affected too, but the original color will be mixed with the new color. It is located under the Adjustments tab. Purpose and Application Use this plugin to remove backgrounds that are close to being single colors. Affected color: The color that you want to change. New color: The new color to choose. Affected color transparency: The transparency of the color to be changed. New color transparency: The transparency of the new color. Tolerance: Instead of just replacing the exact color you choose, why not replace colors relatively close to it as well? Increasing the tolerance increases the range (in RGB) of colors that can be selected. Higher tolerances catch more similar colors. 255 catches everything. Max hue/sat/val difference: These are restrictions placed on the tolerance. When you specify a color, some photos may need a high tolerance to match the colors of your choice. For example, a red gradient for the background of an orange gradient logo. In this case, the maximum hue difference must be limited so only pixels within a certain hue range of the initial color are selected... leaving the orange pixels alone. Color mixing hardness: When pixels are replaced by the chosen color, the further they were from the original color, the less effect the color replacement has. This hardness setting allows you to change this behavior by either tweaking the softness or setting it to 255 so there is no soft color mixing. Remarks When replacing with transparency, consider getting AA's Assistant so that you can remove some of the aftermath (color replacement is imperfect by nature and will usually leave expanses of tinted, lightly transparent areas that AA's Assistant removes). Download: Replace Colors Source code: Github The MIT license does not apply to past users of the source code. Those users still have my explicit permission to do whatever they want. I just had to use a license to avoid ambiguity.
×
×
  • Create New...