Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by MadJik

  1. Type the code using space between symbols and texts int b1 = 0; int b2 = 1; if(b1 == 1) b2 = b1 + 1; when I typed it, Ihave got on the last line b2 =b2 +1; add a new line to type b1 = b2 + 3; the space changes b1 and b2 into BadImageFormatException = BadImageFormatException + 3;
  2. CodeLab proposes to grey and freeze element(s) depending on the value of another. "Connected" isn't the way it works. I will have to rebuild it with Visual Studio... and also to be able to add localisation...
  3. Updated... thank you for reporting this. I don't get what you mean. When connected, only the first channel is used (Red channel) for all (same value used for green and blue).
  4. Change Extreme Colors From this to this What's this? I wanted a way to change the colors by selecting the extreme values (the darkest or the brightest). Here is the effect I just created for that. This plugin was made using CodeLab v3.2. Download it! Plugin ChangeExtremeColors.dll Here is the DLL http://jcljay.free.fr/pdn/ChangeExtremeColors.zip The MadJik's All plugins package is available! http://forums.getpaint.net/index.php?showtopic=7186 How to install Close Paint.net Classic version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects (please reverse / for correct path) Microsoft Store version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: My Documents/paint.net App Files/Effects (please reverse / for correct path) You have to adapt for your language My Documents How to use it This image is created to test the effect. I suggest you to copy and paste it in paint.net to run the plugin and get familiar with the settings. The sliders per channel define the range of colors to modify. And for each selected color you could increase/decrease with the amount for darkest or brightest. The range around 128 is just between darkest and brightest. Default values of the interface make no modification to the image. You have to change something. The User interface This plugin is added to the menu Effects, submenu Color. Limit for Red/Green/Blue Set the values per channel to define the range of colors to modify. Same values (Red) Checked by default. If checked the slider Red is used for all the sliders. Unchecked to be able to change Green and Blue. Dark Colors Checked by default. If checked the colors in the darkest range are modified. Dark adjustment Add/subtract the value to the colors in the darkest range are modified on each channel. Light Colors Checked by default. If checked the colors in the brightest range are modified. Light adjustment Add/subtract the value to the colors in the brightest range are modified on each channel. Average/Maximum of channels When “Same values” is checked the test of the color is made on the average of the channel or on the maximum value of each channel. Maximum is better for monochrome colors when one channel is 255 and others are 0. The Examples: Voilà! Enjoy! Let me see what you could do with it! update 2018-01-27 (thanks to @ReMake - Visual studio version - Linked sliders (instead greyed). - Translation to French and Russian
  5. This makes sense to understand the code, but these calculations are done for each pixels... Can I suggest this change to save some cpu? int minDistanceSquared = 999999; // high value greater than 255 * 255 + 255 * 255 + 255 * 255 + 1;
  6. 1. Using an interger slider for a color chanel (0 to 255, default = 20), I want to change the style to White-Red. The values are replaced by 0-100, default=0. 2. Retyping the values, I start by the default = 20 and when I type the maximum value 2 (for 255) the default value is replaced by 2. edit: 3. Impossible to type -255 (minus 255) when the value is 0.
  7. @Pratyush Center doesn't give expected result. Please don't name the DLL with the version number as it won't replace older versions in the effect menu..
  8. You're welcome. But your post is confusing. I don't understand the question if you managed to make it. To make multiple logos, I used Rotate/Zoom layer (Ctrl+Shift+Z) with rotate + zoom (reduce) + tiling
  9. if (group > Maxgroup) group = Maxgroup; The last stripe could be longer than the others... due to the reminder of the division. edit: Doesn't work with repetition. Solution:
  10. @Pixey this was the trickiest part I had to rework several times before I feel "happy". Could you believe the first step was:
  11. Thank you @Pixey More enigmatik? Voodoo spirit
  12. I think @MJW is right but I'm not skilled enough to explain it. Maths are useful to create a plugin. You don't need the third loop, just y and x. Stripe nr zero(0) is the first step and is equal to the primary color. The number of steps to calculate is Amount1 - 1. Amount1 must be 2 or more (avoid the "divided by 0 error" if Amount1 = 1). Each stripe step size per chanel RGB is (Secondary - Primary) / (Amount1 - 1) //MJW is right! Calculate for each x in the width the stripe number (group). etc... The final code... edit: extra features (ideas) to add: - invert colors (checkbox) - make it vertical (checkbox) - repeat it - start on the center
  13. Anyone knows about "Save Configuration" windows? I can't see any windows with this exact title. It makes me think the use of a plugin with XML or a filetype plugin. Which one?
  14. @lynxster4 @Seerose thank you for the feedback. _____________________________ (19/01/2018) Some absracts:
  15. Remove the commented lines in the Region UICode. edit: @Pratyush the last right shade isn't equal to secondary color...
  16. Update 2018-01-18 -Up to 10 points could be placed and found around the canvas. Use the pen to spot single pixels with same bright color. -Lockers -Angle -New shapes: 4=diamond, 5=pentagon, 6=star, 7=flower, 8=triangle. -Smart values button -Int radius % -Primary Secondary colors -Russian translation (thanks to @ReMake)
  • Create New...