Skip to main content
Participating Frequently
August 14, 2023
Question

Free Transform — masked image not entire layer

  • August 14, 2023
  • 7 replies
  • 5548 views

Hi there

 

I wonder if anyone knows if this is possible:

 

I have a layer that has a layer mask applied to it so we only see a small area of the entire image. 

 

When i hit Free Transform, the transform control / bounding box is the size of the entire layer, not the small area that i have masked. This makes it a little cumbersom — and trickier to scale down and control accurately. Does anyone know if there is a way to set the box to the masked area? It would still scale down the entire layer but the handles are snapped to what we can see. 

 

I'm pretty sure it used to be set like that but i cant seem to find an option to change it back in settings (it's possible im thinking of Illustrator which works that way)

 

Thanks in advance

 

Johnny

7 replies

Known Participant
February 3, 2025

So i'm having the same issues as you. It's already a smart object. It has a mask on it. But i hit command T and it only transforms the image inside of the mask and not the image and the mask. I don't know what setting to turn off to fix this and it's causing my workflow to seriously slow. Not cool, Adobe.

Earth Oliver
Legend
February 3, 2025

>Not cool, Adobe.

 

[abuse removed] Sounds like you just don't have the layer linked to the mask. Click the lock link between the layer and the mask.

Known Participant
February 4, 2025

[abuse removed] they have been linked the whole time. Why would I unlink them? When I click the LAYER, the bounding box goes around the image underneath and not the frame. Everything is linked, nothing is toggle on or off, it's a smart layer. [abuse removed] 

Participant
January 24, 2025

I understand exacly what you want, I'd like that functionality back as well...

However the workflow of Masking your asset , then converting to SO first is wise because a mask is raster and the SO will protect its resolution/acuracy during transforms.

 

If you really need your detailed mask available in the main comp layer stack, then consider:

1. start with a simple rectangular mask around the asset where you would want the transform tool to operate

2. make the layer a SO

3. now create you detailed mask

... the transform should be as you hoped with this workflow.

Known Participant
February 3, 2025

I'm having this same problem and it's already a smart object. this is infuriating

 

Inspiring
December 17, 2024

If you want something with a basic mask (i.e., circlular or quadrilateral) use the Frame tool (k).

 

- Select just the mask and skew, distort ect. withCtrl (Cmd) + T to alter the mask shape

- Trasform both the layer and the mask TOGETHER by selecting both the layer and mask in the layers panel and then Ctrl (Cmd) + T

Participant
March 25, 2025

Just tried this and this is exactly what i needed

Stephen Marsh
Community Expert
Community Expert
August 16, 2023

@JohnJohnJohnJohnJohn 

 

  1. Convert the image to a smart object
  2. Edit the smart object
  3. Use the Crop tool with the "delete cropped pixels" checkbox off/unchecked
  4. Close/save the smart object
  5. The transform will now work as you wish
  6. If you need to rework the crop, edit the SO again and use Image > Reveal All and crop again with the "delete cropped pixels" checkbox off/unchecked
Earth Oliver
Legend
August 15, 2023

you can try converting the layer to a smart object.

Conrad_C
Community Expert
Community Expert
August 15, 2023

There is probably not a way to make the bounding box work the way you want, because it’s intended to show the extent of what’s selected, and that’s the layer dimensions. (Or at least I don’t know of a way to make the box go around the fully revealed mask pixels only.)

 

If the goal is to transform the entire layer precisely while viewing only the masked region, there are alternate methods you can use. Instead of dragging the handles, use the transform values in the options bar. This is what’s shown in the demo below…would any of this address the issue?

 

1. (Optional) A second window for the same document is opened, by choosing Window > Arrange > New Window. This allows monitoring the document simultaneously at both Fit magnification and zoomed into the region of interest. They are arranged by choosing Window > Arrange > 2-up Horizontal.

2. After selecting the masked layer and entering Free Transform mode, adjust the layer position by dragging the X and Y labels in the options bar. You can also adjust them with more precision by entering values in the X and Y fields, or clicking in the X or Y field and nudging the value up or down with the up arrow or down arrow keys. All while watching the window to see the result.

3. Adjust the layer size by dragging the labels for or entering values into the W and H fields.

 

By using the X/Y/W/H fields in the options bar, it is not necessary to see or drag the handles which are out of view.

 

4. To transform the layer or mask independently of the other, click the link icon between the layer and mask, to unlink them.

5. To reposition the layer on the canvas behind the mask, drag the layer with the Move tool.

6. To reposition the vector mask over the layer, drag it with the Path Selection tool. (I use vector masks whenever possible, because with a pixel layer mask there can be more complications to handle, such as revealed mask edges to fill in.)

7. To transform the vector mask in any way, independent of the layer, choose Edit > Free Transform Path, or Free Transform for a pixel mask.

 

Bojan Živković11378569
Community Expert
Community Expert
August 15, 2023

Try this:

 

  • Ctrl (Cmd) + click on layer mask to create selection from transparent or white areas.
  • Ensure mask is selected in the Layers panel.
  • Ctrl (Cmd) + T to enter Free Transform.
  • Drag handles to adjust what you want visible.
  • Confirm using Enter/Return or checkmark in the Options bar.
  • Ctrl (Cmd) + D to deselect.
Participating Frequently
August 15, 2023

AH interesting, didnt know you could do that, but not quite what im looking for i'm afraid —as this only transforms the image, not the mask. I want to transform both the image and mask (linked together) with the bounding box around the masked area. Bit hard to explain but hope that makes sense. Thanks for your help though

Bojan Živković11378569
Community Expert
Community Expert
August 15, 2023

Convert layer with the mask to Smart Object then transform, is that what you want?

 

To convert layer with the mask to smart object just right click on it and choose: Convert to Smart Object from the list.