Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by MadJik

  1. A lot of varicose2 used here: -sky -sea -grass -trees original 4000x3000
  2. Hello and welcome to the forum @old banshee Image 1: How is generated the original? specific tool, plugin, by hand? Do you use layers? (hexagrid background, generated river, river corrections, final river...) Image 4: When you past an image while the zoom is on (200-400% or more), the copy is placed to be seen in the working area. Be sure to zoom 100%! Ctrl+B
  3. Hello, This is a code which works in Codelab 3.4 but I can't preview nor build it. preview build (Same message had AndrewDavid but I have no specific characters in my comments) I suppose the problem is linked with the loading of the palette. It stops working when I add this feature.
  4. Last changes: 2018-02-20 Added new effect Varicose 2. Added new effect Signature stamp.
  5. Varicose version 2 could be found here: https://forums.getpaint.net/index.php?showtopic=112488
  6. Varicose 2 What's this? This is an original plugin made by @jchunn in year 2008. Having a need for a specific use of varicose and as the source code is available, I started some improvements to this effect. I PMed to @jchunn to ask if I could rework this code so... here we are! Original plugin could still be found here. Still interesting as it is a rare plugin in VB! https://forums.getpaint.net/topic/8179-varicose/ What does it do? Define a number of starting points on the top of the image then draw a “vein” to the bottom. Veins aren’t straight they move slightly (and randomly) to the left or the right. They could merge when they meet. They could split randomly. A vein is made of two edges (left and right) 50% transparent and a middle section 75% transparent. Left edge uses primary color, Right edge uses secondary color, middle section is a blend between primary and secondary colors. The vein is also blended with the image of the canvas with the intensity. What's new in this version? . Changed to C# (instead Visual Basic) . Added help and . Random possibility to divide the lines (not only merging). . Quality slider (anti-aliasing) ... . Frequency is the number of starting points (if the width is enough). . Reseed button, 0=new reseed at each run, any value=unique sequence of random values. . Shiny line (add a single pixel white line before the right edge) . Edges thickness ==> Effect submenu: Stylize Download it! Plugin Varicose2.dll Here is the DLL http://jcljay.free.fr/pdn/Varicose2.zip Here is the zip of Sources http://jcljay.free.fr/pdn/Varicose2SRC.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 Select the primary and secondary colors you want for the veins. Then run the effect other an image or on a new empty layer. Veins are vertical going from the top to the bottom. The User interface This plugin is added to the menu Effects, submenu Stylize. Use Primary and Secondary Colors Left edge uses the primary color and right edge uses secondary color. Uncheck to use Black (left edge) and White (right edge). Frequency Number of start points. It could be less when if the width of the selection isn’t sufficient. Width Set the width of the vein. This size is shared by the two edge and the middle section. Thickness of the edges Same value for the two edges. Change the width of the edges. Chance of splitting Percentage of chance (random) to start a new vein on each line. Reseed Set the start of a serial random numbers. Zero is a new serial each time (full random). Intensity Set the level of transparency of the edges. The middle section is a half of the edge level. Add a shiny line Check to add a single pixel white line before the right edge. Quality (AA) Set the level of quality (antialiasing). It applies only where there is a vein. Other areas of the image remain unchanged. The Examples: Voilà! Enjoy! Let me see what you could do with it!
  7. Having a need for a specific use of varicose, and as the source code is available, I started some improvements to this effect. I PMed to @jchunn to ask if I could do this work so... Update in progress... I will publish in a new thread my version soon with link backward here...
  8. @BoltBait For vertical and horizontal gradient you need to affect GStart and GEnd also: int GStartX = 0; int GStartY = 0; int GEndX = 10; int GEndY = 10; switch (Amount7) { case 1: GStartX =adrX; GEndX = adrX; GStartY = (int)(adrY - stringSize.Height / 2); GEndY = (int)(adrY + stringSize.Height / 2); break; case 2: GStartX = (int)(adrX - stringSize.Width / 2); GEndX = (int)(adrX + stringSize.Width / 2); GStartY =adrY; GEndY = adrY; break;
  9. Hi Some fonts show peaks I consider as a bug in the font not in the plugin. With ELI's sample I was thinking the outline was the square... no it's the font... What about adding the square for other fonts? or a circle? Or a variable gap between letters?
  10. Hi @Pendergo and welcome to the forum. Removing the green tint won't be enough The part of the picture is too noisy to recover the image...
  11. @Pixey Thanks for the video ! You could save (overwrite) the source code to keep it personalized. You could also save as signatureImage and signatureText, then you'll have 2 signatures in the menu effects...
  12. New version: - Some more comments inside the code for better understanding (IMO). - Slider Size works with images (10=100% no resize, 20=resize 2x, 5=reduce 50%) (thanks @BoltBait for the idea and the routine) - Drop down lists with numbers (easier to write the code) - Secondary color choice could draw a rectangle (text only) - Catch error to avoid crash if the image can't be found. Known (Codelab?) issues: -Text in the RegionUI is destroied when you use the UI editor and when you build the DLL. -Trailing spaces in the text are trunked (if you want to enlarge the rectangle, it is possible to use Alt+0160 instead space) -Font name is useless as a preliminary choice, the first name of the list of font is always shawn when you run the effect. -Some font families make the calculation of the text size wrong (position of the rectangle or margin could look unexpected).
  13. Thank you @BoltBait. Good idea for the picture zoom. I made my font size scaling 3-4 steps based on the width of the selection. I could do the same for the image with you code. + a slider for the interface.
  14. Hi @Pixey Remove the // you've make pink. // means comment, the code isn't executed. Edit: In this part I comment the lines when I want to use the interface. Overwise, sliders of the interface doesn't work.
  15. _____________________________ (11/02/2018) SubCity
  16. @xod BTW3 Thank you for sharing. I was looking for a color picker for the Lens Flare, I will give a try from your code. If you replace drawline by fillrectangle you could have more effects for the surface of the bars (pattern, gradients).
  17. @Pixey Cocktail time!! be sure to set Amount15 to true to use the image...
  18. Ok I see. BTW1 if you look at the lens flare plugin, it's near like an excel file... BTW2 I made an excel file to update the xml setting for the lens flare.
  19. Windows make the path readable but not usable. You have to click in the box to have the address to copy/paste in the code. Just add the file name with extension (yoursigname.png).
  • Create New...