RedShirt Posted November 6, 2023 Posted November 6, 2023 Hi, I'm sorry, I searched as best as I could but could not find an answer I understood. How do I center an object inside a selection marquee? I've seen "Selection Bounds" referred to in a couple of posts but I don't see it in my Alignment drop-down. I guess I'm loooking for the equivalent of Align to Selection seen in Photoshop. Thanks for any tips! Quote
GarryP Posted November 6, 2023 Posted November 6, 2023 Welcome to the forums @RedShirt As far as I’m aware, the Align and Distribute functionality only works with whole layers and not pixel selections. I don’t know what you mean by “center an object inside a selection marquee”, or how Photoshop works, so I’ll leave it to others to maybe give you techniques to do what you want to do, if that’s at all possible. Quote
markw Posted November 6, 2023 Posted November 6, 2023 If you are wanting to just move the star to the centre of the room’s window, I’m not sure you need the marquee at all, as from your screenshot there doesn’t appear to be any other content in the layer with the star that the star needs to be isolated from before moving it. With the star layer selected switch to the Move tool and position the star by hand where you want it. If I’ve not correctly understood it might help if you can say what it is that you wish to do in the area you have selected? Quote macOS 12.7.6 | 15" Macbook Pro, 2017 | 4 Core i7 3.1GHz CPU | Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB | 16GB RAM | Wacom Intuos4 M
carl123 Posted November 6, 2023 Posted November 6, 2023 7 hours ago, RedShirt said: I've seen "Selection Bounds" referred to in a couple of posts but I don't see it in my Alignment drop-down From the Help file... Align to—the pop-up menu sets the alignment criteria for the operation. For example, you can align in relation to Selection Bounds, page Spread, page Margin or the first (or last) object selected during a multi-object selection (by marquee drag over or selection with ). If margins are not set, alignment is to the page edge instead. But selection bounds does not relate to a pixel selection, it is selection of layers you have selected Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.
Dan C Posted November 6, 2023 Posted November 6, 2023 Welcome to the Affinity Forums @RedShirt! One way of achieving this could be to Cut and Paste the selection area to a new layer, then you can align the Quick Shape to the bounds of this new layer and once complete, merge the newly created Cut pixel area, back into the original image. I've created a quick screen recording of this below: 2023-11-06 10-47-50.mp4 I hope this helps Quote
carl123 Posted November 6, 2023 Posted November 6, 2023 Another way is to use the Pen Tool and draw two diagonal lines that will snap to the marquee corners, then snap the star to the intersection of the two lines Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.
thomaso Posted November 6, 2023 Posted November 6, 2023 Another workaround would simply create the selection as Rectangle object + align to its bounding box. (without a pixel selection) align to selection.m4v Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
MiWe Posted November 6, 2023 Posted November 6, 2023 In the layers palette select the layer containing the red star and the layer in which you made your selection marquee. Then you should be able to find the needed option in the alignment drop-down. Greetings Quote
GarryP Posted November 6, 2023 Posted November 6, 2023 12 minutes ago, MiWe said: In the layers palette select the layer containing the red star and the layer in which you made your selection marquee. I think the OP wants to centre the star within the boundary of the pixel selection. Doing as you say won’t achieve that as “Selection Bounds” in the Align & Distribute pop-up relates to the bounds of the selected layers, not the pixel selection. Or maybe I’m wrong about what the OP wants. Quote
thomaso Posted November 6, 2023 Posted November 6, 2023 9 minutes ago, MiWe said: select the layer containing the red star and the layer in which you made your selection marquee. A pixel selection is not linked to a specific layer. Thus your suggestion doesn't work but aligns to the entire layer dimension instead. Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
MiWe Posted November 6, 2023 Posted November 6, 2023 2 minutes ago, GarryP said: I think the OP wants to centre the star within the boundary of the pixel selection. Doing as you say won’t achieve that as “Selection Bounds” in the Align & Distribute pop-up relates to the bounds of the selected layers, not the pixel selection. Or maybe I’m wrong about what the OP wants. 1 minute ago, thomaso said: A pixel selection is not linked to a specific layer. Thus your suggestion doesn't work but aligns to the entire layer dimension instead. Yes you are right. Did not test it by myself ... Now i did 🙄 Quote
RedShirt Posted November 6, 2023 Author Posted November 6, 2023 Thanks to everyone who replied. Sorry if I explained wrong but @GarryP got it right: I want to center the star exactly in the middle of the rectangular selection. From the replies, I understand that this is not available natively in Affinity Photo, and I have to use a workaround. The one sugggested by @thomaso seems the most straightforward. I hope the Affinity team consider including this feature soon. Thanks! thomaso and Dan C 2 Quote
Old Bruce Posted November 6, 2023 Posted November 6, 2023 I would not use the Marquee selection, I would draw a Rectangle over the window (set the fill or layer opacity to a low value so as to be able to see through it while adjusting its size and location) then draw the star. Taking care that the star is within the "bounds" of the rectangle. Use the Layers panel to select both the rectangle and the star and then align them to the centre of the "selection bounds". Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
oaksu Posted November 8, 2024 Posted November 8, 2024 An old post though I wanted to mention the workaround I found. Select the area you want to use for centering the object Create a new layer and fill the selection with a color Select the new layer and the layer which you would like to center When you click on the Alignment button you'll see First Selected & Last Selected. Depending on which layer you selected first, select the appropriate option. Once your object is centered, delete the new layer that was created. Quote
hambandana Posted November 22, 2024 Posted November 22, 2024 I cannot believe something so simple, that exists in pretty much every other similar tool, doesn't exist. Like...I really might just go back to paying Adobe stupid amounts of money because what the heck. Quote
Ron P. Posted November 24, 2024 Posted November 24, 2024 On 11/22/2024 at 4:18 PM, hambandana said: I cannot believe something so simple, that exists in pretty much every other similar tool, doesn't exist. Like...I really might just go back to paying Adobe stupid amounts of money because what the heck. It's not difficult in the Affinity apps. You can make it even easier by assigning keyboard shortcuts. Quote Affinity Photo 2.6..; Affinity Designer 2.6..; Affinity Publisher 2.6..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win11 Home Version:24H2, Build: 26100.1742: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD; Wacom Intuos 3 PTZ-431W
R C-R Posted November 24, 2024 Posted November 24, 2024 5 hours ago, Ron P. said: It's not difficult in the Affinity apps. You can make it even easier by assigning keyboard shortcuts. I am not sure but I think @hambandana may be talking about centering something in a 'marching ants' selection made in AP. So as has been mentioned, this is not directly supported in AP (or AD). Ron P. 1 Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
Stephen B. Anthony Posted December 30, 2024 Posted December 30, 2024 Here's an example of why this is needed as a quick-and-easy function within the software. In this image, I am laying out a book cover. I have a layer called Template-Hardcover that is set to 45% opacity. Anything printed on the back cover, spine, and front cover need to fall inside the red template. In Photoshop, this is just a couple of clicks. I select the template layer, use the magic wand to select the front cover area (as shown). And then it's trivial two clicks to select the Cover-Title layer or the Cover-Author layer to center align them within the selected area. I then do this with the spine layers after selecting the spine area from the template layer. And then I do it with the back cover text. Once everything is aligned I simply make the template layer invisible. This needs to be quick and easy. Quote
psxfanpl Posted January 25 Posted January 25 Very useful tool in PS, any chance of adding a feature in AP? Select an area using the rectangular marquee tool, select the layers of interest, go to the move tool and by selecting align centre the contents of the layers centre themselves in the selected area. Quote
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.
Note: Your post will require moderator approval before it will be visible.