plutohaza Posted January 12, 2020 Posted January 12, 2020 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. Quote
plutohaza Posted January 12, 2020 Author Posted January 12, 2020 (edited) it's the only image on the layer which one am i suppose to use? Edited January 12, 2020 by plutohaza Quote
Eli Posted January 12, 2020 Posted January 12, 2020 To have a better understanding of your request, can you post that image? Quote
plutohaza Posted January 12, 2020 Author Posted January 12, 2020 (edited) honestly i would also like to align all 6 images by selection near the middle of the page, while keeping their relative positions Edited January 12, 2020 by plutohaza Quote
Eli Posted January 12, 2020 Posted January 12, 2020 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. Quote
Eli Posted January 12, 2020 Posted January 12, 2020 To align all other images you need to place them on a single layer and use your alignment plugin. Quote
Eli Posted January 12, 2020 Posted January 12, 2020 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. Quote
IHaveNoName Posted January 12, 2020 Posted January 12, 2020 (edited) 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. Edited January 12, 2020 by IHaveNoName Quote
Reptillian Posted January 13, 2020 Posted January 13, 2020 (edited) @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 January 13, 2020 by Reptillian Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.
IHaveNoName Posted January 13, 2020 Posted January 13, 2020 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. Quote
Ego Eram Reputo Posted January 13, 2020 Posted January 13, 2020 My organigram plugin would help produce a positioning guide. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.