I need to optimize 700 images in PNG in a batch process, but Photoshop only gives me the option to optimize the images and export them to JPG, when I want to mantain the images on PNG. Is there a way to do this on Photoshop or in another tool? You can see the screenshot following this link.
5 Answers
You can probably do this by creating an action and then batch processing:
Create the action
- with an open file in photoshop
- start recording
- do File > Save As > and set file type to PNG
- or use File > Save for Web if you need to resize or make other modifications
- click Save
- stop recording and save action as "Save As PNG"
(there may also be some built in actions with Photoshop, I can't remember)
Then in Adobe Bridge
- Select all the files you want
- Tools > Photoshop > Batch
- Select your "Save As PNG" action
- Click OK to process
-
3\$\begingroup\$ Make sure you close the file as part of the recording otherwise if it opens too many files Photoshop will give an error and you'll have to force crash it. \$\endgroup\$– SpentakCommented Mar 14, 2015 at 0:10
-
\$\begingroup\$ Also note that if you "Save for Web" it may store the folder you save in, and later if this folder does not exist the process will fail each time with a "Could not complete the action, since the destination folder does not exist" error. \$\endgroup\$– XonatronCommented Jan 14, 2016 at 17:25
-
\$\begingroup\$ Is it possible to perform batch operations without Adobe Bridge? \$\endgroup\$– kelinCommented Aug 8, 2017 at 9:14
You want to use ImageMagick, its free and open source. Get it from http://www.imagemagick.org/script/index.php
Then use the "convert" function
To resize a batch of photos, open a terminal window to the folder containing your photos and use the command:
mogrify -resize 700x700 *.png
-
-
\$\begingroup\$ This is the best answer, IMHO. The cost of installing ImageMagick is far outweighed by the simplicity, speed and elasticity of this solution. \$\endgroup\$– JeromeCommented Aug 16, 2019 at 7:51
-
\$\begingroup\$ ImageMagick doesn't do various layer effects. If you're using shadow or glow, it will just not render them. \$\endgroup\$ Commented Sep 4 at 18:33
Just shift click all of your layers. then right click export as. make sure the layers don't live in folders.
-
2\$\begingroup\$ Shift-click all layers for 700 images? \$\endgroup\$– scottbb ♦Commented Jul 13, 2017 at 18:02
You can try using "save for Web & Devices"
Some helpful links:
- The Comprehensive Guide to Saving Images for the Web
- (video) Photoshop Top 40 #34 - Save for Web & Devices
I hope this helps.
-
\$\begingroup\$ Thanks for your help; I followed the links but I'm having the same issue, because Photoshop only allows me to export the images to JPG, and I don't see the option to export the images to PNG. \$\endgroup\$ Commented Jan 4, 2013 at 17:18
-
\$\begingroup\$ The option should be there in save for web and devices ... top right corner. Anyways you can also try the free software GIMP to save images as png. GIMP is free alternative to photoshop. graphicssoft.about.com/od/gimptutorials/tp/save-PNG.htm \$\endgroup\$ Commented Jan 8, 2013 at 13:34
- Create your action -In your action you MUST "SAVE AS .png"
- Go to "Automate > Batch -Choose your action, folder, desitination -YOU MUST THEN, Check the box "Override Action "Save As" Commands
Click "OK" and wallah! If you saved your action correctly with the "save for web / .png", you will have your image assest outputted properly as .png's
NOTE - You will find your outputted folder only on the Desktop, as Windows 8 Photoshop CC folder save location is "FUBAR"
-
\$\begingroup\$ Thanks for your contribution. However, I don't really see how your answer adds something as it is not different from MikeW's answer posted in January 2013. \$\endgroup\$ Commented Oct 1, 2014 at 20:36
-
\$\begingroup\$ that does not make it wrong. Also Mike advises to use Bridge ... which I had not heard of before. \$\endgroup\$– snh_nlCommented Oct 5, 2020 at 10:15