Statistics.jsx

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

drd
Posts: 1
Joined: Sun Jul 21, 2019 10:00 am

Statistics.jsx

Post by drd »

Hello,

I am a newbie and I have approxmately 100 folders with raw images. I want to use an automated statistic function to average all images of one folder.

So I found on the web the Adobe script on 'Statistics.jsx - Front end to the Statistics Image Stack plugins'.

Is it possible to write a script to define the folder names and then to let photoshop cc 2019 automatically perform the image averaging using mean and to save the output in a tiff-file?

Thank you.

DrD
User avatar
Stephen_A_Marsh
Posts: 29
Joined: Sun Aug 04, 2019 12:37 pm

Re: Statistics.jsx

Post by Stephen_A_Marsh »

Without modifying an existing script or writing a brand new one, all of this can be done with a few steps, leveraging existing scripts and features:

1) File menu > Scripts > Load Files Into Stacks (select your folder)

2) Select Menu > All Layers

3) Layer menu > Smart Objects > Convert to Smart Object

4) Layer menu > Smart Objects > Stack Mode > Mean

5) Flatten

Save As TIFF

An action could combine these steps together. Hope this helps.