Jump to content

Recommended Posts

Posted

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!

centering.png

alignment.png

Posted

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.

Posted

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?

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

Posted
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

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.

Posted

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:

 

I hope this helps :)

Posted

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

 

starcentered.jpg

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.

Posted

Another workaround would simply create the selection as Rectangle object + align to its bounding box.  (without a pixel selection)

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted

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

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

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

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted
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 🙄

Posted

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! 

Posted

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

 

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.

  • 1 year later...
Posted

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.
  • 2 weeks later...
Posted

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.

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

align_kbshortcuts.jpg

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

Posted
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).

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
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

  • 1 month later...
Posted

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.

Screen Shot 2024-12-30 at 17.56.47 PM.png

  • 4 weeks later...
Posted

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.

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.

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.