Photoshop Script Batch Multi Save

Ғылым және технология

JavaScript for Photoshop scans a folder for images, performs selected transformations, and saves copies in four common formats: PSD, TIF, JPG, and PNG. Video tutorial is Windows. Script works the same both macOS and Windows.
- Process all or selected extensions
- Process raster images, PDF, AI, and vector EPS
- PDF first page, all pages, or all images
- Save PSD, TIF, JPG, and PNG 8 or 24
- Convert to any color profile
- Layers as-is, merged, or flatten
- Adjust PPI, set or resample
- Limit pixels in either dimension
- Keep paths, discard all, or keep special cases
- JPG and PNG rename for web use
- Save and restore all settings
SCRIPT UPDATES AFTER VIDEO WAS PUBLISHED:
Each format now includes "Original file name +" input field that adds a suffix to output file names.
Also see related video:
Photoshop Script Save Copy: • Photoshop Script Save ...
Get the script: www.marspremedia.com/software...
Get on Gumroad: willcampbell7.gumroad.com/l/p...
How to install Photoshop scripts macOS: • Photoshop Scripts How ...
How to install Photoshop scripts Windows: • Photoshop Scripts How ...
More about installing scripts both macOS and Windows: www.marspremedia.com/software...
Other useful scripts for Adobe Creative Cloud applications: www.marspremedia.com/software
Example job images thanks to unsplash.com

Пікірлер: 55

  • @wc7
    @wc72 жыл бұрын

    Thanks to user feedback, version 4.2 now includes "Original file name +" input field for each format that adds a suffix to output file names.

  • @ankankoley86
    @ankankoley86Ай бұрын

    I can't thank you enough! Saved a lot of time... Subscribed to your channel :)

  • @thomasdezelus8755
    @thomasdezelus87552 жыл бұрын

    I saved a load of hours with your awesome preset! Saving more than 100 RGB files in CMYK mode in less than 5mn. Thank you very much

  • @wc7

    @wc7

    2 жыл бұрын

    Thank you. I'm glad it helped.

  • @seobyifte
    @seobyifte10 ай бұрын

    Oh my god. this is free!!! A true time saver. Thank you William!!

  • @wc7

    @wc7

    10 ай бұрын

    Contributions are always welcome and keep me writing new scripts. PayPal button on web page: www.marspremedia.com/software/photoshop/batch-multi-save

  • @aleebboy
    @aleebboy3 жыл бұрын

    Thanks a lot William!!

  • @wc7

    @wc7

    3 жыл бұрын

    You're welcome. Let me know any problems with it, or ideas for other scripts. Thank you for your support.

  • @prasadkumar6739
    @prasadkumar6739 Жыл бұрын

    Thank you very much man, you saved tons of my time

  • @wc7

    @wc7

    Жыл бұрын

    That's great to hear. It's rewarding when my efforts are time-saving, for me and for others. That was the plan. Thank for your feedback. I appreciate it.

  • @Wololocc
    @Wololocc2 жыл бұрын

    Thanks a lot, this is a great lack that photoshop has when it comes to exporting in png

  • @wc7

    @wc7

    2 жыл бұрын

    Thank you. Yes, Photoshop has its problems with PNG and one reason for the script was to help saving PNGs. The companion script "Save Copy" works the same, only it does one image at a time.

  • @maoxu3588
    @maoxu3588 Жыл бұрын

    Thanks! it really help!!!

  • @wc7

    @wc7

    Жыл бұрын

    Glad it helps. Thanks for watching.

  • @yogakurniawan5933
    @yogakurniawan593310 ай бұрын

    thanks for this script my amigo...say greeting from timor leste...& u r wellcome if u visit our land.

  • @hseindesigns
    @hseindesigns8 ай бұрын

    I can't thank you enough!

  • @Antok56
    @Antok562 жыл бұрын

    very great tool and great explained, thanks a lot for this tool.

  • @wc7

    @wc7

    2 жыл бұрын

    Thank you. Also see the script "Save Copy" which is the same code but for a single image open in Photoshop. So when you come back to correct any, they get saved the same.

  • @Antok56

    @Antok56

    2 жыл бұрын

    @@wc7 sorry for the late reply, thanks a lot, Iam gonna definetely check it. and also I want to report a bug, I don't know it's because of the Photoshop or the Script, sometimes when I save a PNG file, the file size becomes very large, and even though I change the settings the file size is still large, the sizes becomes normal when I turn off Photoshop and start it again.

  • @wc7

    @wc7

    2 жыл бұрын

    @@Antok56 I suspect it is Photoshop to blame. There are many weird things about PNG and Photoshop. For one thing, the time it takes to save. Not too noticeable for the typical use of PNG (small images) but I have some clients that (for whatever reason) insist on using PNG for high-res images. The save time is dreadful compared to same image as JPG or TIF. Also in script, there are properties for PNG quality which don't seem to make any difference. File size is always the same (big) no matter what value is used for quality property. It's been this way for a while, and it frustrating that Adobe hasn't addressed these issues yet. I'm afraid there isn't much I can do to the script to make it any better, at least at this point. Maybe after Adobe fixes these problems I could revisit the code to see if something might help.

  • @IsaacTannerDempsey
    @IsaacTannerDempsey2 жыл бұрын

    Hey William, I'm wanting to create variations for example folder 1 contains foreground images and folder 2 contains background images. I would like to save versions of each possible variation

  • @wc7

    @wc7

    2 жыл бұрын

    Run the script twice. Once on folder 1, then again on folder 2. Options are preserved between runs (other than folder choices), so set once and both folders should give same results. Or move the two folders into another, and use the subfolder option to get all in one run of the script.

  • @richardsurgent
    @richardsurgent Жыл бұрын

    Hi William, is there any way to export individual artboards from single PSD? My situation is that I have many banners of different sizes in PSD and this script only exports the whole PSD as one PNG. Thanks!

  • @wc7

    @wc7

    Жыл бұрын

    At this time, the script does not handle Photoshop artboards. Anything is possible until proven otherwise, but the addition of artboards in Photoshop still remains not well documented in the scripting object model. So it's a bit more challenging to devise code to deal with them. But I will give it go, when time permits. I have added your request to my list of future scripts, either an update to this one, or another script to tackle Photoshop artboards specifically. One possible interim solution is if there's a way to split artboards into individual, "classic" images, each its own Photoshop document. Then those could be processed. Another step, but better than no solution at all. Sorry I can't give a better answer and solve the need sooner.

  • @CS-bp9xe
    @CS-bp9xe Жыл бұрын

    This is amazing. When setting image dimension limits. Does it crop or warp the image? Thanks!

  • @wc7

    @wc7

    Жыл бұрын

    Neither. Only resamples to less pixels, keeping same crop and aspect ratio.

  • @GuidoValdata
    @GuidoValdata Жыл бұрын

    you, beautiful human being!

  • @mustafadudhwala7278
    @mustafadudhwala727829 күн бұрын

    I want to batch save a number of psb files to tiff files, but the source psb are all in seperate folders and i want them to export all in one folder(for easy loading into printing software), not in seperate folders like the original source files, and i am not able to do so, is there something i am missing here?

  • @wc7

    @wc7

    28 күн бұрын

    The script is designed to keep all subfolders to avoid name collisions. If you are sure there are none, output to "other" folder then move all the files to the root level. How to do that depends on platform, macOS or Windows.

  • @alessandropettirossi609
    @alessandropettirossi609 Жыл бұрын

    Hi William ! i have a psd with 80 image layers to export every single layer separated .... it is possible doing that ? thanks

  • @wc7

    @wc7

    Жыл бұрын

    I thought surely a script for this exists so I went looking for something to refer you to. But I couldn't find anything. Strange. OK, so I wrote a script myself this morning. This is fresh out of the oven so forgive any glitches. Let me know and I will fix. Download here and give it a try: www.marspremedia.com/download?asset=save-layers-v1.zip

  • @mustafadudhwala7278

    @mustafadudhwala7278

    29 күн бұрын

    Export layers to file is a script already given with photoshop, can that not work?

  • @minnnjupark
    @minnnjupark2 жыл бұрын

    Thank you for this, but the PNG exporting feature exports my files way too big (70MB+), as opposed to the standard PNG exporting method (110KB)

  • @wc7

    @wc7

    2 жыл бұрын

    Are you exporting PNG-24 or PNG-8? Can you tell me what method are you using that produces a PNG so much smaller? And the settings used. Then I will investigate and see if anything can be improved.

  • @minnnjupark

    @minnnjupark

    2 жыл бұрын

    @@wc7 Thank you for the reply. PNG-24 exports are 70MB+ and PNG-8 exports are 10MB+. No settings are adjusted besides when switching from PNG-24 and PNG-8. Original document size used was 300DPI, 3692x4800 pixels. Export sizes are much lower using same document dimensions when exporting from 'Export As, 'Quick Export as PNG' and 'Save a Copy' (Selecting PNG from dropdown menu).

  • @wc7

    @wc7

    2 жыл бұрын

    @@minnnjupark I did a test with a similar size image 5333 x 4000 px. I get the opposite result. Export As PNG/Quick Export PNG is larger = 38.2MB. Save As/Batch Multi Save is smaller file = 32.1MB. My test image is RGB. Are you sure your smaller file isn't down-sampled to lower PPI? Open up the small file and check if the pixel dimensions have changed. Even a JPEG can't shrink from 70MB to 110KB without resampling.

  • @minnnjupark

    @minnnjupark

    2 жыл бұрын

    @@wc7 Can confirm that the smaller file's (exported from Export As, etc) pixel dimensions nor PPI have not changed. They are still the original dimensions and PPI. The document just contains one word on no background (transparent)

  • @wc7

    @wc7

    2 жыл бұрын

    @@minnnjupark OK well that makes a different potential for compression, for sure. But still not sure why the result you're getting. I took my test image 5333 x 4000, made a layer and dumped the background, added a line of text to the transparent layer, and saved it all the different ways. All results are 131-137 KB. Batch Multi Save is 134KB, tiny. Maybe I need a sample file to test. You can get my email on my channel page, about tab, then click show email address. I'll reply with a link you can upload to.

  • @MDLITON-kn1lt
    @MDLITON-kn1ltАй бұрын

    thank you so much this is truly work but i won help you, i will input cmyk ai file & output cmyk tiff file without color change is it possible?

  • @wc7

    @wc7

    Ай бұрын

    Should keep color if set to input CMYK in AI/PDF/EPS options, and Photoshop has the same color profile set in Color Settings.

  • @kevinhe8188
    @kevinhe8188 Жыл бұрын

    Hi William, awesome work again , and when i download the file, i found it's a jsxbin fine, can i have the jsx to read ? thanks, i am learning coding, so i wish to read your code as reference :)Thanks

  • @wc7

    @wc7

    Жыл бұрын

    Sorry, no. It's not open source. Watch my scripting tutorial series: kzread.info/head/PL5Ib-T2waUE5hdJLmHahWL4JwBe84hrJr

  • @wc7

    @wc7

    Жыл бұрын

    But many scripts on my website are open source. Just not that one.

  • @puranrana5770
    @puranrana5770 Жыл бұрын

    This is a great script indeed. However, just a small thing I wanted to suggest. There should be an option to export PNGs in the same folder without creating a PNG folder. But over all, great script. 👍

  • @wc7

    @wc7

    Жыл бұрын

    I've considered that. The original idea for the script is multiple formats so each in its own folder. This takes care of name conflicts, so resolving name conflicts was never part of the original script. To save in same folder, there would have to be a suffix added, for example "-1" when input and output formats are the same, otherwise risk overwriting input files. For example, if input files are PNG, and you want the same but say different pixel dimensions or resolution, the name has to be different. I could add this and allow the folder name to be empty, then it would work as you imagine. If a different format, no problem and saved to same name and folder. But if same format, result has suffix "-1". Would that work? Thanks for the feedback. I appreciate it.

  • @puranrana5770

    @puranrana5770

    Жыл бұрын

    @@wc7 Thanks for replying William. In my case, I just want to create PNGs from PSDs in the same folder (without creating a new one) There are no PNGs in that folder so there won't be any naming conflict in my case. I am not sure if this option is built -in in photoshop or not (exporting PNGs to multiple folders at once). but this is the issue I am facing, I cant leave the folder name empty either, a dialog box appears and asks to give a folder name.

  • @wc7

    @wc7

    Жыл бұрын

    @@puranrana5770 Right, the current implementation of the script requires a folder name. In my reply, I was proposing a possible change, not suggesting the script works that way now. But to make such a change, it creates a new problem -- how to deal with potential name conflicts. In your case it sounds like that isn't a problem. Your source files are not PNG and you want to output them to PNG. So same folder would work in that case. But the script has to account for all scenarios, or a user somewhere will be mighty angry with me when the script overwrites their original files. I "propose" (the script does NOT currently work this way) adding a suffix "-1", "-2" etc. when folder name is blank and there are name conflicts. My question to you in the last post (and for anyone else following this conversation) is if such a suffix would be a satisfactory solution so that folder name could be blank and not risk overwriting source files. Let me know what you think and I will consider some changes to the script.

  • @puranrana5770

    @puranrana5770

    Жыл бұрын

    @@wc7 Yes, having a suffix option would also help. Also (another suggestion) it would be great if we could choose a pre defined suffix "_edited" for example ( I know it would again cause naming conflict) but in some cases it would be really beneficial, and easy to segregate edited images from the original ones. PS: Even if you don't make any changes to the script, its still a great help 🙂

  • @wc7

    @wc7

    Жыл бұрын

    @@puranrana5770 The script does have a suffix option. "Original filename +". Enter "_edited" or other desired suffix. This was already a feature of the script, just not the incremental numbering to resolve naming conflicts that I've described. That would be needed if the script is changed to allow destination folder is blank, meaning, not in a subfolder.

  • @rodrigoundaa
    @rodrigoundaa8 ай бұрын

    This is an amazing capabilities for bridge. Too bad it doesn't work in B2024

  • @ProxiusMusic
    @ProxiusMusic2 ай бұрын

    Ah! This script needs option to be able to export 'All opened files' as input like in 'Automate Batch'. I have like 30 clear backgrounded logos open on 30 tabs but unfortunately the original batch export doesn't support exporting in .PNG so I found your script which is perfect but then I can't select 'Opened files' :P Now I have to suffer exporting one by one :D

  • @wc7

    @wc7

    2 ай бұрын

    If the images are saved to the same folder, wouldn't that work? That's the idea of the script. Process folders, not anything one by one. Your comment "export one by one" doesn't make sense to me. You don't even need the script. Make an Action, "Save PNG" and batch automate that. Wouldn't that work? I will look at adding an option for open documents but I still wonder why you need it. Maybe there is more to the story that I am missing. If so, forgive me for not fully understanding.

  • @ProxiusMusic

    @ProxiusMusic

    2 ай бұрын

    @@wc7 I was working on the 'sponsors' section of the website. To do that I had to find all the sponsor brand's logos on web and save them. Ofc each logos comes in different sizes and formats.. png, svg, eps etc. So I had to resize every single logo to fit in 200x175 px boxes for example which forced me to open new tab for each logo so in the end I ended up with like 30 untitled tabs for each logo so I thought I would be able to bulk export all the open tabs in desired format and size but then I noticed Photoshop doesn't batch export png :P It allows bulk export all the open tabs (Opened Files) buuuut converts them to JPG as it doesn't give png option. Found your script which is amazing with advanced format settings etc. Buuut this time it only offers folder selection in input. I'm not sure if this explains more? Maybe there are other ways to reach to the result I needed but I'm not very good with PS.

  • @wc7

    @wc7

    2 ай бұрын

    @@ProxiusMusic Wrong tool for the job. This script only works on existing files, not "untitled" PS docs never saved. There isn't a way to modify the complex script so it would work on never saved docs. It would take an entirely different script. There are a number of ways to approach this. 1. batch export the open images. Then run this script. Why is that so difficult? 2. use a script to automate the cropping and output PNG. Look at this script. Just don't remove the background, only crop: kzread.info/dash/bejne/fZ6gxNSypryrlZs.html Beyond that a bit of imagination could probably devise multiple ways to get the job done using standard PS tools and Actions.

Келесі