Jump to content
How to Install Plugins ×

Multi Color Gradient v3.0 (May 17, 2018)


Recommended Posts

Multi Color Gradient

The Multi Color Gradient plugin helps you to create and edit a Multi-Color Gradient.


Download Plugin from here: http://www.fotoview....lorGradient.zip




To Install:

Put the "MultiColorGradient.dll" file in the Paint.NET "Effects" directory

This is usually "C:\Program Files\Paint.NET\Effects"

The effect is located in the Effects->Render submenu  it now appears in the Effects Drop Drop-down Menu.

How to use:

Select the type of gradient, Linear, Radial, or Square. A Linear gradient is defined along a line specified by the width of the image and the direction of the gradient. A Radial or Square gradient is defined from the center to the boundary of the image.

For a Linear gradient drag the Angle slider to change the direction of the gradient. Drag the Count slider to change the color count.

Select the colors by clicking the color picker control. Drag the position sliders to change the postions of the interpolation colors. The color positions in the control specify percentages of distance along the gradient line. For example, a value of 20 specifies that this point is 20 percent of the total distance from the starting point. The postions in this control are represented by values between 0 and 100, and the first color in the gradient must be at position 0 and the last must be at postion 100.

Click the randomize parameters button (dice button) to try out random settings in the preview dialog. Click the default values button (arrow button) to restore the default values.


Edited by Pixey
Fixed malformed tags/alert to where PDN now saves this
  • Like 1
Link to comment
Share on other sites

definetly a keeper plugin. like especially the ability to enter hex code values for colors on the pallett. it will most likely replace my use of hue saturation. and love the transparency. aspect.

changed this picture on left to picture on right in just a couple of steps.

cut out the polar at the top and used plugin on just the selected image added the maze underneath layer to check how opaci it was and just a bulge to show distortion.

very good A+ for ease of use from a non programer point of use application. .


Link to comment
Share on other sites

Cuts out the middleman from pyro's Gradient Mapping method. Nice work!


The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Nice-looking UI, but it seems sort of superfluous, especially since its output doesn't really depend on the existing image. So why have a window showing the original image?

Unless I'm missing something here...

I'm missing it as well pyro. and the three sections could you explain that for me. pallett, named colors i think I understand but what is that third one system for?

Link to comment
Share on other sites

oma: System is a set of colors defined by your computer - they may vary depending on what OS you are using (Windows XP, Windows Vista), what kind of color scheme you are using, or what theme (Luna, Royale, Aero, Classic, Basic) you're using.

Nice-looking UI, but it seems sort of superfluous, especially since its output doesn't really depend on the existing image. So why have a window showing the original image?

Unless I'm missing something here...

Nevermind, I just saw the eyedropper.

However, I did find some other problems:

- When using the eye-dropper, and moving the mouse around, the redraw is excruciatingly long, and ends up with a trail of color-info windows several inches behind the cursor. Also, since you have preview windows, it's important that you- in the form's Load event- make sure to set the opacity of the dialog to 1 so what's under it does not show through, as that can really screw with what you think you see in the preview window.

Better yet, use WinAPI to get the screen image so the eye-dropper doesn't need the preview windows at all.

-The preview window is inaccurate - it shows the gradient spread over only the area shown in the preview window, yet when you OK the effect, the gradient is spread over the whole selection. Yet another reason to nix the pictureboxes and use the normal method of previewing on the canvas.


ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Maybe you are able to answer a few questions about the plugin interface.

I didn't have the time to figure out how to use the srcArgs.Graphics object efficiently (that's why I use these preview windows).

If I draw a gradient I use a PathGradientBrush and Graphics.FillPath().

This is a vector operation. Just like drawing lines, text, polygons.

But in the plugin interface you have to fill each pixel for each rectangle (rois) like dstArgs.Surface[x, y] = pixel

This is clearly a raster operation.

How do you solve this efficiently without the use of clip regions?

Link to comment
Share on other sites

  • 1 month later...
  • toe_head2001 changed the title to Multi Color Gradient v3.0 (May 17, 2018)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...