Skip to main content
Participant
May 26, 2025
Answered

Trim Command results in program error

  • May 26, 2025
  • 3 replies
  • 400 views

In Photoshop 2025 for Mac (latest PS and Mac OS updates have been installed), I get the following error message when I use the Trim command "Could not complete the Trim command because of a program error (edcd3b.337)" 
or use the Canvas Size command "Could not complete the Canvas Size command because of a program error (edcd3b.337)". 

I have reviewed all of the Adobe "Learn how to fix" suggestions, as well as many other video suggestions (primarily Performance and Technology Preview settings). Nothing so far has fixed this issue. Any suggestions would be appreciated.

Correct answer ez.avl

RESOLVED -- Turns out the error was specific to a particular file. Upon further investigation, I was able to isolate that it was 2 line layers that were causing the problem. After I deleted those layers, the Trim command worked fine. 

3 replies

ez.avlAuthor
Participant
May 26, 2025

Hi @Srishti Bali  - thank you for your reply and here are my responses to your questions:

  • As best I can tell, the issue did not start after installing the most recent app or OS update. In fact, after seeing the issue, I noticed that neither the app or OS we're on the latest update, so I did the update for both. But, that did not fix the issue.
  • The problem does appear to be specific to a particular file. Upon further investigation, there were two line layers in the problem file that appeared to be causing the issue. When I deleted those layers, the problem resolved. I was able to isolate that those layers were the problem by copying all layers to a new file; in doing so, I noticed that nothing was pasted to the new file. So, then I just started copying each layer on it's own and noticed that most layers did paste successfully. Following this through to each layer I was able to isolate the problem layers.
  • The file is saved on an iCloud drive.
  • I did try all the steps outlined in the help article you suggested.

 

Best regards,

EZ

ez.avlAuthorCorrect answer
Participant
May 26, 2025

RESOLVED -- Turns out the error was specific to a particular file. Upon further investigation, I was able to isolate that it was 2 line layers that were causing the problem. After I deleted those layers, the Trim command worked fine. 

Srishti Bali
Legend
May 26, 2025

Hi @ez.avl,

 

Sorry to hear you're encountering this error, and thank you so much for sharing all the details. I just have a few questions to help us dig deeper:

 

If not, please give those a try and let us know if they help.

 

Regards,

Srishti