romein

Multi Color Gradient

48 posts in this topic

Multi Color Gradient

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

Download: http://www.fotoview....lorGradient.zip

mcgradient.jpg

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

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.

http://www.fotoview.nl

Edited by Ego Eram Reputo
Fixed malformed tags
1

Share this post


Link to post
Share on other sites

I was thinking about something like this a few days ago when I had to make multiple layers with a different gradient color over each. This sounds like it might save a lot of time.

I'll have to give it a whirl when I get off work.

0

Share this post


Link to post
Share on other sites

Would you be able to add an option to selectively define the center of the radial and square gradients?

0

Share this post


Link to post
Share on other sites

Maybe in the next version.

In the original design you can move, resize and rotate the entire gradient.

Like a 'floating' selection.

0

Share this post


Link to post
Share on other sites

Question: could someone explain to me how this one is different from the one under adjustments called gradiant mapping?

0

Share this post


Link to post
Share on other sites

Ok I'll give it a whirl. see what I think of it.

if there are any modifications I'd like to see I'll come back and mention them.

ciao for now OMA

0

Share this post


Link to post
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. .

useofmultigradiant.png

0

Share this post


Link to post
Share on other sites

I just tried it. Wow. This can be really useful. Thanks romein. :D

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
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...

0

Share this post


Link to post
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?

0

Share this post


Link to post
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.

0

Share this post


Link to post
Share on other sites

Nice UI, I'm seeing a lot of cool looking interfaces now (Splatter, Psychedelic)... It's nice to see something else than sliders :D

Good plugin, thanks :)

0

Share this post


Link to post
Share on other sites
Unless I'm missing something here...
The opacity setting...

When messing with opacity settings, you can see your original image anyway...

All I'm saying is this definitely seems like cowbell to me.

0

Share this post


Link to post
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?

0

Share this post


Link to post
Share on other sites

this will save me loads of time!! normally i have to make loads of layers and use trasparent gradients to get the other parts

this will save me a lot of time thanks dude :D

0

Share this post


Link to post
Share on other sites

romein, can you please put a [serializable] attribute on any custom Types you are using in the EffectConfigToken, so that this plugin can be compatible with ScriptLab?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now