Skip to main content
Participant
November 25, 2013
Question

Save as png in different size and file name suffix.

  • November 25, 2013
  • 1 reply
  • 1177 views

Maybe someone can help me on this Photoshop script. I am working on a psd file with few layers in Photoshop CS6. I would like to save it to the png format.

Below is my workflow.
1) Drag and drop 01.psd into Photoshop from A folder.
2) Save 01.psd to 01.png into the A folder with different sizes and suffixes as shown below:

    - name: 01-xhires.png, size: 180x180

    - name: 01-hires.png, size: 90x90

    - name: 01.png, size: 45x45
3) With png options: (I have no idea of some options below, but at least you know what I am lookng for. )

    - Compression: Smallest/Slow

    - Interlace: None

    - Transparency: True

    - Blur: 0:0

    - includeProfile = false

    - optimized = true

    - quality = 100

    - PNG8 = false

4) Use lower case extension.
5) Other options should be in default setting.

The script should be able to:

1) Overwrite the png files whenever the psd file has been updated and saved multiple times without prompting.
2) Save the png files into the same folder as the source file without creating any subfolder.
3) Not close the psd file, but still keeping it opens in the Photoshop without any changes.

Please help, thank you very much.

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
November 25, 2013

Goto Russell Browns web site download the Image Processor Pro script install it and use it to do what you want. However  the script will not overwrite files.   Overwriting file in an automated process is dangerous you could easily wipe out all you image if you make a mistake.  If you want to replace files create the new files in a new temp location then when you see the files are what you want. Move(cut) the files to the location you want replacing any files with the same name.

Menu File>Automate>Image Processor Pro...

source folder you psd files or open document which should stay open.  If you want the script to overwrite the output files you need to edit the script and remove the code that generate new name when output files exists. You may also need to change some save options.  I  would think you would want the profile you convert the image into stored in the png file,  Most of the otions you want can be set like same location no subfolders, 16bit  not interlace etc.

JJMack