Skip to main content
Marquis383
Participant
May 26, 2020
質問

How to automatically size an image to fit into a selection or a shape easily?

  • May 26, 2020
  • 返信数 4.
  • 1984 ビュー

I often work with templates using the paste into special comand to past a copied image into a selection of a shape I created within a template. I am looking for a faster and more convenient way to rezize the image after or as it is pasted in. I currently use free transform to manually size the image within the resulting layer mask. It seems like there should be an easy quick way (shortcut?) to shrink the pasted image (which is often much larger than my canvas) to fit the selection or resulting layer mask window. Looking for a step to speed up my workflow. Perhaps an alternate method? I don't know.

このトピックへの返信は締め切られました。

返信数 4

didiermazier
Community Expert
Community Expert
June 21, 2020

You could use a smart object… and replace content…

jane-e
Community Expert
Community Expert
May 27, 2020

Are you holding down the Option key to resize from the center?

JJMack
Community Expert
Community Expert
May 26, 2020

The way I do this in scripts is: I resize the image layer so it will fill the bounds of the selection. Then I align image center to the selection center. Then I mask the image layer with the active selection.  If the selection is a rectangle the results will look like a centered aspect ratio corp of the resized image. If the image had the same aspect ratio as the selection the will be no image content masked off. If the aspect ratios were not the same. then some image content is masked off on the top and bottom or on the left and right sides. The selection  actually can be any shape it doe not matter what shape the selection is the process works.

 

IMO Adobe Frame Tool has issues I removed it from my tool bar and disabled its shortcut.  

 

If you have a shape you can Ctrl+Click on the Shape layer to set a active selection of the shape.  As I stated above the selection can be any shape. And when added to the image layer as a layer mask will control what areas of the resized image will be visible.

 

Adobe Frame tool does not support any possible shape.

JJMack
Marquis383
Marquis383作成者
Participant
June 20, 2020

Thank you

Bojan Živković11378569
Community Expert
Community Expert
May 26, 2020

Frame tool can shrink image to fit inside but instead of pasting you will need to place image. Perhaps that can work for you? Otherwise I know for Variables > Pixel Replacement > Fit which can automate that process but that is also connected with importing new image and you must have area in which you want to fit present as pixel values on layer not as selection.

Marquis383
Marquis383作成者
Participant
June 20, 2020

Thank you