Sign in to follow this  
MadJik

Panelling Effect Plugin (ymd:100718)

Recommended Posts

MadJik    158

Panelling Effect Plugin

 

What's this?

This is a plugin under Effect/Distort menu.

This effect will enable you to move the selection, vertically, horizontally or both using the sliders.

The third slider "step" is a multiplication factor (to move faster or to pass over the limits)...

While moving, the image leaves the area on a side and reappears on the other.

 

Download it!

Plugin Panelling.dll

ar.pngHere is the DLLal.png

 

The MadJik's All plugins package is available !

http://forums.getpaint.net/index.php?showtopic=7186

 

How to install

Close Paint.net

Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects

 

The User interface

panelling_UI.png

 

Stop to the edge

If the image is an object with a transparent background, you could choose to stop the move at the edge, without knowing the distance before.

And once stopped to the edge, you could apply a margin distance... Try this!

 

Some examples:

With this image:

001.jpg

 

1.I used only horizontal by -50px...

002.jpg

 

2.(continuing from previous example): Now I used only vertical by 25px (and step 2)

003.jpg

You could see we aren't loosing any part of the image because it is going from side to side...

 

With the reduced image with a transparent background:

004.jpg

 

I used horizontal and vertical : -500px... but checked the box "stop"

005.jpg

Edited by MadJik
refresh UI and rehosted images

Share this post


Link to post
Share on other sites

It could also come in handy for making repeatable images, like web backgrounds and textures. Boltbait wrote a CodeLab script that offset the image by 50% horizontally and vertically, but this one's configurable!

Share this post


Link to post
Share on other sites
BoltBait    1,234
It could also come in handy for making repeatable images, like web backgrounds and textures. Boltbait wrote a CodeLab script that offset the image by 50% horizontally and vertically, but this one's configurable!

Yes, this is similar to the Seemless Helper plugin that I created... only his is better. :D

Share this post


Link to post
Share on other sites
MadJik    158

Well BoltBait, I'm still using your effect Seemless Helper because it is really focused on a specific task AND without parameters. So simple so fast for this task.

When I built this plugin I was only thinking about moving H/V the image... And it works also H+V at the same time.....

Bob/CMD/Boltbait:

Thanks for your comments!

Share this post


Link to post
Share on other sites
MadJik    158

new.jpg

Download the new version!

Sliders Hor/Ver now from -500 to 500

Effect in the submenu "Effects/Distort"

here is the DLL

To install:

Close Paint.net

Unzip and place the DLL in your Effect folder usualy: C:\Program Files\Paint.NET\Effects

Share this post


Link to post
Share on other sites
Tubular Tos    0

:wink: Madjik ? Can you send to me the old version ? This Panelling version doesn't work and that makes a crash in my PDN . I think that's because i have always the 2.72 . Thanks :wink:

... I prefer to wait for the 3 final version .

Share this post


Link to post
Share on other sites
drakaan    0

You know...with a little additional manipulation, this looks like it would be the same thing as the "make seamless" option in GIMP.

IIRC, from looking at the pixels that come out of that, it does some sort of contrast fade from center to edges in an elliptical (radial-type) gradient, copies *that* image, and panels the copy so that it's positioned evenly in the four corners (50% horizontal and vertical offset).

I haven't tried to code any plugins yet, but if nobody else does, I might have to take a stab at it.

...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

Share this post


Link to post
Share on other sites
drakaan    0

You know...with a little additional manipulation, this looks like it would be the same thing as the "make seamless" option in GIMP.

IIRC, from looking at the pixels that come out of that, it does some sort of contrast fade from center to edges in an elliptical (radial-type) gradient, copies *that* image, and panels the copy so that it's positioned evenly in the four corners (50% horizontal and vertical offset).

I haven't tried to code any plugins yet, but if nobody else does, I might have to take a stab at it.

...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

Share this post


Link to post
Share on other sites
MadJik    158
You know...with a little additional manipulation, this looks like it would be the same thing as the "make seamless" option in GIMP.

IIRC, from looking at the pixels that come out of that, it does some sort of contrast fade from center to edges in an elliptical (radial-type) gradient, copies *that* image, and panels the copy so that it's positioned evenly in the four corners (50% horizontal and vertical offset).

I haven't tried to code any plugins yet, but if nobody else does, I might have to take a stab at it.

...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

I do not understand well what you are saying!

But it makes me think about the Fragment plugin (from Ed Harvey)

http://paintdotnet.12.forumer.com/viewtopic.php?t=2969

Share this post


Link to post
Share on other sites
MadJik    158
You know...with a little additional manipulation, this looks like it would be the same thing as the "make seamless" option in GIMP.

IIRC, from looking at the pixels that come out of that, it does some sort of contrast fade from center to edges in an elliptical (radial-type) gradient, copies *that* image, and panels the copy so that it's positioned evenly in the four corners (50% horizontal and vertical offset).

I haven't tried to code any plugins yet, but if nobody else does, I might have to take a stab at it.

...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

I do not understand well what you are saying!

But it makes me think about the Fragment plugin (from Ed Harvey)

http://paintdotnet.12.forumer.com/viewtopic.php?t=2969

Share this post


Link to post
Share on other sites
Ash    9
...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

Like this?

dc4f1d73.jpg

Share this post


Link to post
Share on other sites
Ash    9
...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

Like this?

dc4f1d73.jpg

Share this post


Link to post
Share on other sites
drakaan    0
...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

Like this?

dc4f1d73.jpg

Exactly like that...assuming you did it with code, and not by making a circular ellipse and then resizing it.

Share this post


Link to post
Share on other sites
drakaan    0
...anybody have any pointers on how to do a radial gradient that's asymmetrical (different horizontal and vertical distances)?

Like this?

dc4f1d73.jpg

Exactly like that...assuming you did it with code, and not by making a circular ellipse and then resizing it.

Share this post


Link to post
Share on other sites
drakaan    0
I do not understand well what you are saying!

But it makes me think about the Fragment plugin (from Ed Harvey)

http://paintdotnet.12.forumer.com/viewtopic.php?t=2969

Here's the best I can explain it. In this example, the image is 200 x 200 px.

Say we start with this:

ex1ps4.png

...then we do a radial gradient fill from transparent in the center to white at the edge (this is why I was asking about assymetrical radial gradients...doesn't work well on non-square images)...

ex2ld8.png

...then we copy that into a new layer and use the panelling effect to shift the image 100px up (or down) and 100px left (or right)...

ex3op8.png

...we adjust the properties of this new layer to blend it in nicely (I just did multiply at full opacity)...

ex4th4.png

The final image is what you'd typically get if you were using Photoshop, GIMP, etc, and did a "seamless tile" or "make seamless". There are plenty of other options beyond the radial gradient to deal with the sharp edges that sometimes show up.

I can see how this would be scriptable/pluginable, but I don't know how I'd manage it.

I keep thinking back to my copy of "Aldus PhotoStyler SE" that came with Kai's Power Tools (not sure what version) and HSC Digital Morph...This was back in about 1996...the era of encyclopedias on CD and the beginnings of multimedia PCs (IBM compatible ones, that is) being commonplace.

If I can find my CDs (and they haven't been ruined by the kids), I'm going to try to find some of those old effects and see if any still seem handy.

Anybody remember "Glass Lens Bright", or the Mandelbrot Explorer? Good times...

sorry for rambling...So, who knows about plugins and ellipses?

Share this post


Link to post
Share on other sites
drakaan    0
I do not understand well what you are saying!

But it makes me think about the Fragment plugin (from Ed Harvey)

http://paintdotnet.12.forumer.com/viewtopic.php?t=2969

Here's the best I can explain it. In this example, the image is 200 x 200 px.

Say we start with this:

ex1ps4.png

...then we do a radial gradient fill from transparent in the center to white at the edge (this is why I was asking about assymetrical radial gradients...doesn't work well on non-square images)...

ex2ld8.png

...then we copy that into a new layer and use the panelling effect to shift the image 100px up (or down) and 100px left (or right)...

ex3op8.png

...we adjust the properties of this new layer to blend it in nicely (I just did multiply at full opacity)...

ex4th4.png

The final image is what you'd typically get if you were using Photoshop, GIMP, etc, and did a "seamless tile" or "make seamless". There are plenty of other options beyond the radial gradient to deal with the sharp edges that sometimes show up.

I can see how this would be scriptable/pluginable, but I don't know how I'd manage it.

I keep thinking back to my copy of "Aldus PhotoStyler SE" that came with Kai's Power Tools (not sure what version) and HSC Digital Morph...This was back in about 1996...the era of encyclopedias on CD and the beginnings of multimedia PCs (IBM compatible ones, that is) being commonplace.

If I can find my CDs (and they haven't been ruined by the kids), I'm going to try to find some of those old effects and see if any still seem handy.

Anybody remember "Glass Lens Bright", or the Mandelbrot Explorer? Good times...

sorry for rambling...So, who knows about plugins and ellipses?

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
Sign in to follow this