Learn how to use the Content-Aware Fill workspace to seamlessly fill a selected portion of an image with content sampled from other parts of the image.

The Content-Aware Fill workspace (Edit > Content-Aware Fill) provides you an interactive editing experience to achieve seamless results. You get control over the sampling area that is used by the content-aware technology to fill the selected portion of the image and several other settings to adjust the fill result. You also get a live full-resolution preview of the changes and an option to output the result to a new layer.

Content-Aware Fill workspace
Content-Aware Fill workspace

Launch the Content-Aware Fill workspace

  1. Open an image in Photoshop. Use any selection tool to select a part of the image you want to fill.

  2. Choose Edit > Content-Aware Fill.

    Photoshop launches the Content-Aware Fill workspace.

    Within the Content-Aware Fill workspace, the document window displays the default sampling area as an overlay mask over the image. You can use tools provided in the Tools panel (at the left of the screen) to modify the sampling area and your initial selection of the fill area. In the Content-Aware Fill panel (at the right of the screen), you can specify sampling options, fill settings, and output settings to get the desired fill result in the image. As you make changes, the Preview panel displays a live full-resolution preview of the output.    

Use tools to fine-tune sampling and fill areas

Sampling Brush Tool

Use the Sampling Brush Tool to add to or remove from the sampling area used to fill the selection. Paint over the image in the document window. 

Sampling brush tool
Modify the sampling area using the Sampling Brush Tool.
  • To add to the default sampling area, choose the Add mode in the Tool Options bar and brush over the areas in the image you want to include in the sampling area overlay. 
  • To remove from the default sampling area, choose the Subtract mode in the Tool Options bar and brush over the areas in the image you want to exclude from the sampling area overlay. 
  • To toggle between Add and Subtract modes, hold down Alt (Win) / Option (Mac) key while brushing with the Sampling Brush Tool.
  • To increase or decrease the Sampling Brush size, use the Size option in the Tool Options bar or use the left/right bracket keys.    

Lasso Tool and Polygonal Lasso Tool

Use any one of these selection tools to change or modify your original selection (fill area) in the document window.

Lasso tool
Modify your selection using the Lasso or Polygonal Lasso Tool.
  • Lasso Tool and Polygonal Lasso Tool in the Content-Aware Fill workspace work just like the corresponding tool in Photoshop. See Select with the lasso tools.
  • Use the keyboard shortcut 'E' to cycle modes for Lasso Tools - New Selection, Add To Selection, Subtract From Selection, and Intersect With Selection
  • The Content-Aware Fill workspace provides two additional tool options for Lasso Tools - Expand and Contract. You can click these options in the Tool Options bar to expand or contract the selection by a specified number of pixels.     
  • To reset all changes made in this workspace to the original selection, click the reset () icon in the Tool Options bar. 

Notă:

When you change the selection, the sampling area gets reset but the previous brush strokes are preserved. The selection also gets updated in the document when you exit the Content-Aware Fill workspace after committing the fill.

Hand Tool

Use this tool to pan over different parts of the image in the document window and the image preview in the Preview panel. You can switch to Hand Tool quickly by pressing the 'H' key while using any other tool.

Zoom Tool

Use Zoom Tool to magnify or reduce the view of the image in the document window or the image preview in the Preview panel. 

  • Zoom Tool in the Content-Aware Fill workspace works just like the corresponding tool in Photoshop. See Zoom in or out.
  • To change the magnification in the Preview panel, you can also drag the zoom slider or type a value in the text box at the bottom of the panel.

Adjust Content-Aware Fill settings

You can adjust the following settings in the Content-Aware Fill panel.

Show Sampling Area

Select this option to show the sampling area or the excluded area as an overlay on the image in the document window.

  • To reset to default sampling area, click the reset () icon next to the Show Sampling Area option.

Sampling options

Opacity

Sets the opacity of the overlay displayed in the document window. To adjust the opacity, drag the slider or type a percentage value in the text box. 

Color

Assigns color to the overlay displayed in the document window. Click the color selection box and then choose a color from Adobe Color Picker

Indicates

Shows the overlay in the sampling or the excluded area. Choose an option from the drop-down list - Sampling Area or Excluded Area.

Fill settings

Color Adaptation

Allows contrast and brightness to adapt for a better match. This setting is useful for filling content with gradual color or texture changes. Choose an appropriate option from the drop-down list - None, Default, High, or Very High.

Color Adaptation
Use the Color Adaptation setting to fill content with gradual color or texture changes.

Rotation Adaptation

Allows content rotation for a better match. This setting is useful for filling content with rotated or curved patterns. Choose an appropriate option from the drop-down list - None, Low, Medium, High, or Full.

Rotation Adaptation
Use the Rotation Adaptation setting to fill content with rotated or curved patterns.

Scale

Select this option to allow content resizing for a better match. It works well for filling content with repeating patterns of different sizes or under perspective.

Scale
Use the Scale option for filling content with repeating patterns of different sizes or under perspective.

Mirror

Select this option to allow content to be flipped horizontally for a better match. This is useful for images with horizontal symmetry.

Mirror
Use the Mirror option to fill images with horizontal symmetry.

To reset to default fill settings, click the reset () icon in the Fill Settings menu.

Output settings

Output To

Apply Content-Aware Fill to Current Layer, New Layer, or Duplicate Layer.

View full-resolution preview in the Preview panel

As you fine-tune sampling and fill areas and adjust fill settings, the Preview panel renders a full-resolution preview of the changes. 

Notă:

Photoshop first renders an initial low-resolution preview of the changes in the Preview panel. Immediately after, it generates a full-resolution preview. While this full-resolution preview is being generated, you may notice that a warning icon appears next to the spinner in the lower-right corner of the Preview panel.

  • To change the magnification of the preview image, you can drag the zoom slider or type a value in the text box at the bottom of the panel. You can also select Zoom Tool in the Tools panel.
  • To pan over different parts of the preview image, you can switch to Hand Tool quickly by pressing 'H' while using any other tool.

Commit or cancel fill changes

  • When you get the desired fill result in the image, click OK at the bottom of the Content-Aware Fill panel or press Enter (Win) / Return (Mac) to commit fill.
  • To cancel fill and exit the Content-Aware Fill workspace, click Cancel at the bottom of the Content-Aware Fill panel or press Esc.   

Reset all fill settings

To reset all Content-Aware Fill settings, click the reset () icon in the lower-left corner of the Content-Aware Fill panel.      

Această lucrare este oferită sub licență Atribuire-Necomercial-FărăModificări 3.0 Ne-adaptată Creative Commons  Postările pe Twitter™ şi Facebook nu sunt acoperite de condiţiile de licenţiere Creative Commons.

Prevederi legale   |   Politică de confidențialitate online