Sign in to follow this  
plutohaza

Alignment Plugin

Recommended Posts

So is there any working plugins that can align images to the middle of the canvas? cos i've tried all 3 that i could find and none of them actually works, at least i don't think so.

Share this post


Link to post
Share on other sites
57 minutes ago, plutohaza said:

none of them actually works, at least i don't think so.

 

They do. 

Things to make sure of,  for objects to centre

 

- total transparency around the object 

-any active selection is on the whole canvas (Ctrl + D - deselects everything to be doubly sure)

- any object hasn't got any remaining artifacts from cutting out or erasing. (We've all done it, left the odd stray pixel we can't see.  Clicking on the canvas with the Magic Wand will show these )

 

Then you should be good to go

Edited by welshblue

Share this post


Link to post
Share on other sites

honestly i would also like to align all 6 images by selection near the middle of the page, while keeping their relative positions

Edited by plutohaza

Share this post


Link to post
Share on other sites

I see that you are trying to center the black image on layer 8. You need to remove the selection and use your alignment plugin.

 

Share this post


Link to post
Share on other sites

To align all other images you need to place them on a single layer and use your alignment plugin.

 

Share this post


Link to post
Share on other sites

I see, you have used the Pentagon plugin to create a guide and then positioned the individual images on the corners. Assuming you have placed them correctly, you can use xod's Align object plugin.

Share this post


Link to post
Share on other sites

I think all that should be necessary is to use the Vandermotten's "ObjectAlign.dll" part of:-

I do not understand exactly what the OP is trying to do but if he is trying to put the mask icon in the middle then that is where he should start.

 

Centre that using the plugin mentioned then in another layer simply use the Shapes > draw shape outline tool > pentagon to draw a one as an alignment grid.

 

Then just re-position the other icons in their existing layers to touch the edges at each angle of the pentagon.

 

The only problem I can see is that if you use the alignment tool the central icon will not be equidistant from the other icons. It will be centred on the canvas not the pentagon even though the pentagon itself is centred.

 

But once the outer icons are in place it is simple to merge them all into one layer and shift all of them up or down the canvas to suit. This is a quick, very rough, example of what you should have, before shifting either the central icon down or the five outer icons group up.

 

Ignore the background compositional grid (Red Ochre's plugins) I thought it might be useful but in this case it wasn't. However a vertical centre line would have been useful for the top and central icons. Those two are really the only placements where you would actually benefit from the use of the alignment tool.

 

Once all aligned just delete the background layer with pentagon and grid.  

 

 

356797646_PDNForum.png.1f43cdf04a53a79535f58fb6f1422c2b.png

 

 

 

Edited by IHaveNoName

Share this post


Link to post
Share on other sites

@IHaveNoName The distance is wrong. I know that's not helping. What would help in this case is a plugin that does the following: 

 

1) Finds the minimum x where alpha is greater than 0, maximum x where alpha is, minimum y where alpha is greater than 0, where maximum y is greater than 0. 

 

2) Use that info to find where to place image relative to the center of canvas.

 

3) Finally translate the image using distance and angle. This involves the usage of sin and cos and radian.

 

Fragment Blur use some of that. 

Edited by Reptillian

Share this post


Link to post
Share on other sites

I realised that the distances were wrong later. Aligning to the inside angles of a roughly equilateral pentagon clearly does not produce the positioning required.

 

To get the outer icons equidistant from the centre icon and its two neighbours is more complex than I thought. They need a 72 degree radial separation (360 divided by 5) so I had another thought that it could simply be achieved by aligning the centre icon using the plugin mentioned and the outer icons all aligned horizontally centred above the centre icon at the preferred distance in separate layers.

 

My idea was then to place each icon around the centre icon by rotating its layer either 72 or 144 degrees clockwise/anti-clockwise as required, using the Layers rotation tool.

 

Works and was quite easy and quick to do using the tools mentioned but the distances and the centering still are not right so I'll leave it to those here more adept at resolving such geometrical problems.  

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.

Sign in to follow this