Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation


About pleska

  • Birthday 01/01/1970
  1. You might be able to get around this limitation by filling your selection in a solid color and then making a square selection rectangle around it and then using the gradient mask color to only gradient fill the color you put in the selection. Paul
  2. Interesting, well ok. I was just hoping to do some things that don't fit well into the effect model since they are not a single step. But I understand your issues. Paul
  3. Is there any plans to make the toolinfo/tool classes work like the effect classes and support plug-ins? It seems today there is a hard coded list of tools that get created vs. using that Assembly.Load technique and a tools plug-in directory like the effects one. Just curious, Would like to create some plug-inable (is that a word?) tools vs. just effects. Thanks, Paul
  4. You're still clipping to the selection area though, right? Yep, I just use the rectanglular bounds of the selection region as a guide as to where to start the x and y repeating of the image. Although you only see the image in the selection area or the masked part of the selection area. Paul
  5. Hi all, I just wrote another plug-in effect. This one allows you to take an image and "flood-fill" it into the selection region repeating it over and over. If you have a repeating texture or other image this fill will load that texture. Options are included to change the origin of the image both positive and negative in both the X and Y. Also, stealing code from my gradient fill plug-in you can restrict the fill to a single masking color within the selection area. If you use non-rectanglular selections this effect should work fine with the understanding that the the entire selection is act
  6. Hi thanks, 1. The use mask color allows you to apply the gradient only to pixels with the specified RGB color within your selection rectangle. I use this often to draw some really complex region in one color and then have the gradient fill only that color, this is nice when making buttons. 2. To use the alpha channel only thing you need to specify two different (assuming you want a fade) transparency levels on your primary/secondary colors. The gradient will then only change the alpha channel (or transparency) of the selected rectangle pixels in the gradient and not the actual color. This s
  7. Hi all, Back from my vacation and did a little update to the gradient plug in. I have updated the source and binary zip files. Lets call this version 1.2. Changes: 1. I normalized all the fill directions to Vertical, Horizontal, Radial, Diagonal (Upper-Left -> Lower Right ) and Diagonal (Lower-Left -> Upper Right ). If you notice, the last one is a new direction the "up-hill version" of the diagonal fill. 2. I added a reverse colors check-box so that all these gradients could go the other way without needing to go back to the source colors and swap them. (This allows the original re
  8. Hi all quick note. I just updated the Zip file on the server and fixed the radial gradient, it was way messed up. In a week I will get back and hopefully can add the other directions. Just get the new zip and replace the DLL in the zip with the bad one already in your effects directory and relaunch PDN. http://www.sapphireonline.com/Downloads/GradientPlugIn.zip Thanks for finding the bug. Paul
  9. Hi all, Glad you like the gradient plug in. When I get back from vacation in a week I will look at adding the up-slope gradients in addition to the two that currently are in there. I really just ran out of time. Also, yes, I did mean to indicate that I built it against that version of Paint.Net. Wasn't sure how backwards compatible the plug-in model was so I thought I would mention it. Regarding gradients, the plug-in basically looks at the rectangle that encloses the selection, or the entire image if no selection is available. It then uses that rectangle for the basis (i.e. the start, end
  10. Glad you all like the plug-in. The source is at http://www.sapphireonline.com/Downloads/GradientPlugInSource.zip Enjoy, Paul
  11. Thanks all for the feedback. I updated the zip file with a new DLL that has the OK and cancel button positions changed. I also gave them their correct enter/escape status on the form. Enjoy Paul
  12. Well its not spectacular but it gets the job done. This plug-in produces a gradient fill between your current primary and secondary colors. It uses the overall selected rectangle as the distance for the gradient fills. It supports 5 basic types of gradient fills: Vertical, Horizontal, Radial (from center of rect out), Diagonal and Reverse-Diagonal. If you want the fill to go the other way you reverse the colors. Also it has a special ability to use a mask color. This color will be the only area where the gradient fill will occur within the selected region. I did this after running into lots
  • Create New...