Skip to main content
Participant
November 11, 2025
Question

Command "Trim" are not currently valid.

  • November 11, 2025
  • 1 reply
  • 43 views
Can't do swap face because "The parameters for command "Trim" are not currently valid.

1 reply

Ged_Traynor
Community Expert
Community Expert
November 11, 2025

@TeresaNguyen123 are any of the layers locked by any chance, can you post a screenshot of the Photoshop interface with all the pertinent panels opened

jane-e
Community Expert
Community Expert
November 11, 2025

@TeresaNguyen123 

 

Because you didn't say, does your image have either transparent pixels or a solid color pixel around the edges?

 

Did the trim command work before?

 

Jane

 

From Adobe Help:

The Trim command crops an image by removing unwanted image data in different ways than the Crop command. You can crop an image by trimming surrounding transparent pixels, or background pixels of the color you specify.

  1. Choose Image > Trim.
  2. In the Trim dialog box, select an option:
    • Transparent Pixels to trim away transparency at the edges of the image, leaving the smallest image containing nontransparent pixels.
    • Top Left Pixel Color to remove an area the color of the upper-left pixel from the image.
    • Bottom Right Pixel Color to remove an area the color of the lower right pixel from the image.
  3. Select one or more areas of the image to trim away: Top, Bottom, Left, or Right.