Skip to main content
Participant
October 26, 2021
Question

Action fails to save to png

  • October 26, 2021
  • 1 reply
  • 1016 views

Through the years ive made quite a lot of actions that makes my day to day job easier.
I'm not a scripter so thats why i use actions. But with the newer versions of CC, each time my actions are not working as they should.

Problem: i have a batch of images, that need to be processed the same way, and after the steps i want to save them. Normaly the action records my settings. But now the save as png option is relocated. So i redesign my action and use save a copy. But then when i specify a path for the file. It used the whole path including the file name. So when i execute the batch in Bridge and use the photoshop action, all works fine except all the images are each time saved under the same name. Is this a error in photoshop or am i doing something wrong?

This topic has been closed for replies.

1 reply

Kukurykus
Legend
October 26, 2021

Create document, start recording, save it anywhere with chosen file format but without changing the name, stop recording. This way you avoid saving item to have specified file name.

Participant
October 26, 2021

I did that, just the way you mentioned. Each file that is opened and went through the action, gets the filename from the first time i made the action. It is very strange. And it is not only with the png file format but also with all the other file formats.   But it's only with the "save copy" function, when making another action with the "save as" function, all works fine.


The only thing is that i need the png format.

I'm trying now a work around, and use the older "save for web" function. And that works, but it takes much longer with each file.   

D Fosse
Community Expert
Community Expert
October 26, 2021

Include steps in the action to make the file compliant with the PNG specification first. Then you can use a standard Save. Since PNG supports 16 bit and transparency, it may just be necessary to flatten the file (layers are not supported).

 

In any case you can check that by saving a copy and noting which properties in the original file survives.

 

If color accuracy is important, note that there is a bug that may cause the color profile to be stripped from PNGs in a Save As. The profile is correctly preserved with Export or Save For Web (the latter can be recorded in actions; the former not).