![adobe photoshop cc 2017 make your own script batch adobe photoshop cc 2017 make your own script batch](https://i.ytimg.com/vi/_actEE8kYtM/maxresdefault.jpg)
The file suffix to add to the new files, if you want to. You may have to change this to make it dynamic. The width and height I wanted to consider. Please let me know if you have any doubts.Īpp.lerUnits = Units.PIXELS Īlert (“Please close all open documents before running this script.”) I share with you the script I’ve created and used. This way the colour of the added bars matches the original image’s colours □ This allows you to make almost everything, including to check the color of the pixel in the top left corner of the image to be used as the background colour. So I thought… “hum… let’s get to work and make this guy happy!”.įirst I tried to use Photoshop Actions but it wouldn’t work because I couldn’t automatically define the background color to be used in each image, otherwise that would be the fastest and easiest way to do this. This is the final image, with the expected dimensions (720 x 1024).
![adobe photoshop cc 2017 make your own script batch adobe photoshop cc 2017 make your own script batch](http://www.pckeysoft.com/wp-content/uploads/2017/02/download-topaz-labs-photoshop-cs6-full-crack-www-pckeysoft-com.jpg)
This image’s original dimension was 1000 x 750 so he needed to resize the image to 720 x 540, choose the background color that the top/bottom added bars should have (black was used in this case) and then resize the canvas to 720 x 1024. And when new images become available, he would once again repeat the same process again…
![adobe photoshop cc 2017 make your own script batch adobe photoshop cc 2017 make your own script batch](https://thumbs.gfycat.com/InsidiousYellowEuropeanpolecat-size_restricted.gif)
He had more than 200 files to process. If it took 1 min (I believe he was taking longer) to process each file, he was gonna take more than 3 hours to complete it. Later today, a friend of mine was editing some images and I’ve noticed that he was repeating the same process again and again… open the image… resize the width to 720 pixels… selecting a matching background colour (because when resizing canvas, bars on top and bottom of the image were being added) and resize canvas so the image had the expected 720 x 1024.Īfter 15 minutes I asked him what he was doing.