MadJik

Spot the center (ymd:180310)

Recommended Posts

Spot the center

 

spotcenterdemo.png 

 

 

What's this?

When you have selected an area with the ellipse tool, have you ever needed to find the center? So, you need this effect.

 

Draw a dot or a + at the center.

Center could be:

-center of the canvas,

-center of the selection,

-center of the weighted selection (not dimension but number of pixels).

 

 

Download it!

Plugin SpotCenter.dll

ar.png Here is the DLL http://jcljay.free.fr/pdn/SpotCenter.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

 

 

 

The User interface

This plugin is added to the menu Effects, submenu Selection.

spotcenter_UI.png

 

Size of marker horizontal/vertical

Choose 0 for a single dot. Default is 1 for a small cross.

More than one to draw lines passing through the center.

 

Link horizontal-vertical

When checked you could use one slider to define the both horizontal-vertical.

 

Steps

Instead of a line, increase the steps to have multiple spots from the center.

 

Color of the spot

Default is the primary color, but you could change it on the fly.

 

 

Transparency

Value 255 means opaque (no transparency).

 

Adjustment

Once the center is known then you could adjust it +/- some pixels.

The middle of 5 pixels is the third.

□□□□

The middle of 4 pixels isn’t a pixel…

□□|□□

 

Spot Center  

Three modes are available:

-Selection: the middle is half the width and half the height of the selection,

-Canvas: the middle is half the width and half the height of the image regardless the selection,

-Weight: each pixel of the selection is 1 unit of weight. The center is estimated with the average weight per line and per raw.

 

 

 

 

Voilà! Enjoy!

  • Like 2
  • Upvote 3

Share this post


Link to post
Share on other sites

Thank you @MadJik!   As @Eli stated above, this will eliminate the guesswork.  :D

And the 'spot' can go on its own layer, so you can delete it after you're done.

 

spotcenter.png

 

  • Like 1

Share this post


Link to post
Share on other sites

X marks the Spot.  Very clever ;) Plugin.  You must dream 'code' when you go to sleep @MadJik  :lol:

 

jX7JANP.png

  • Like 1

Share this post


Link to post
Share on other sites

Thank you all for the feedback...

 

@Pixey It sometimes happen I dream about some rendering but I never remember about them when I wake up...

TTTT (to tell the truth) for this one the idea came from this post:

I was not sure where to place the center.

 

Ok not hard just few lines with the standard codelab Template.

 

Hey, I could publish this as a new plugin. No, it too "basic" and "simple".

Ok what could I bring to this to make it a bit more interesting ? = the center isn't always in the middle!

 

Wow, this effect proposes now three centers!

 

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.