Jump to content
cseeman

How to crop an image on a selected layer - Affinity Photo?

Recommended Posts

How to crop an image on a selected layer - Affinity Photo v1.3.4?

 

It seems the Crop Tool is a global function. How would I accurately crop an image in a selected layer?

Share this post


Link to post
Share on other sites

Hi cseeman,

Welcome to Affinity Forums :)

Currently Affinity Photo crop is document based as you discovered.

To "crop" an image in a specific layer, create a selection around the area you need to crop, press ⇧ (shift) + ⌘ (cmd) + I (to invert the selection - you can also go to menu Select ▹ Invert Pixel Selection) and hit delete on your keyboard.

 

If you need to adjust the selection before cropping, press Q to enter in Quick Mask mode, change to the Move Tool and transform the selection on canvas using the bounding box controls. Press Q again to quit Quick Mask mode.

 

I believe we will improve this later to enable object/layer based crops too.

Share this post


Link to post
Share on other sites

Currently I think the key problem with Selection/Deletion with Object/Layer is that it's destructive. Of course things that are masked can be revealed again by removing the masks though.

 

I'd like to see two features in that regard (time to suggest them in the Feature Request forum):

• There should be a Non Destructive Crop

• It should have handles/points  (much as the crop tool does). That can work for both "straight lines" or on bezier and b-spline curves.
* Ideally it should have x, y point readout which might help in some cases.

Share this post


Link to post
Share on other sites

I was about to post that this didn't work for me in Affinity Photo v1.5.2, but then I realized the layer needs to be rasterized. Not immediately obvious for a lightweight user like me.

Share this post


Link to post
Share on other sites

Hi pkeew,
Welcome to Affinity Forums :)
If you want to invert the selection and delete it, yes you need to rasterise the layer first. Image layers are considered object layers - they can't be edited at a pixel level, however they can be transformed (scaled, rotated etc) without losing losing quality since they retail all original image data. To convert an Image layer type to a Pixel layer type right-click the image layer in the Layers panel and select Rasterise.

Share this post


Link to post
Share on other sites

Thanks for including those details.

BTW what I do these days is use the shape tool (rectangle, etc) and draw an object (usually a rectangle but it depends...) and use it as a mask by adding it to the layer I want to crop. It's non destructive that way.

Share this post


Link to post
Share on other sites
54 minutes ago, MEB said:

That's what i suggested in post #4.

 

I think he means "clipping", rather than "masking" ?

 

As described it the Affinity video "Clipping vs Masking".


Windows PCs. Photo and Designer, latest non-beta versions.

Share this post


Link to post
Share on other sites

My workaround was to open up the object of the crop as a separate page in AP, crop it there, save as a new document and paste onto the background image. Seemed to work OK. Saved the entire thing in the save resolution as the original logo (300dpi). Then exported as a lower rez and size for web (800x600p@72dpi). Probably have some trimming and further adjustment to do. But you get the idea. Needed to size for 4x3 aspect. 4:3, not 4:1

Techworks Pro_800x600p.png

techworks pro_v3.png


techworkspro_v4_300x80.gif.1b0b1c7df511aeb341fc0dbba972a9bf.gif

MBP 2017, MacOS Mojave 10.14.6, Affinity Photo, Affinity Designer, (Trial) Publisher

iPad Pro, iOS 12, Affinity Photo, Designer

https://techworkspro.com 

 

 

Share this post


Link to post
Share on other sites
On 7/12/2015 at 6:12 PM, MEB said:

To "crop" an image in a specific layer, create a selection around the area you need to crop, press ⇧ (shift) + ⌘ (cmd) + I (to invert the selection - you can also go to menu Select ▹ Invert Pixel Selection) and hit delete on your keyboard.

there's no delete on my keyboard

if i press backspace it deletes everything inside the selection although it is inverted (deletes indside the original selection)

what exactly do you mean by "hit delete on your keyboard"?

im on mac

Share this post


Link to post
Share on other sites
23 minutes ago, duch_suva said:

Of ipress backspace it deletes everything inside the selection although it is inverted (deletes indside the original selection)

Welcome to the Serif Affinity forums.

Make sure you're working on a layer that shows as (Pixel) in the Layers panel, not (Image). If it's an Image layer you'll need to Rasterize it before you can perform pixel operations on it.


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites
On 3/30/2020 at 10:59 PM, walt.farrell said:

Make sure you're working on a layer that shows as (Pixel) in the Layers panel, not (Image). If it's an Image layer you'll need to Rasterize it before you can perform pixel operations on it.

Thanks!

Share this post


Link to post
Share on other sites
Quote

When i said that this will be improved later i meant that we will eventually port Affinity Designer's way back to Affinity Photo.

Looking forward to this.

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


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.