Copy link to clipboard
Copied
I have been using the attached script from our website vendor to resize and rename batches of images for our website. It worked fine until the most recent update of Photoshop. Now the script creates all blank images and the large image created is huge (175mb or more, even when starting with a small file and is very slow.. Any suggestions on what could be causing this?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
// even out the dimentions to a square Large x Large
doc.resizeCanvas(large, large, AnchorPosition.MIDDLECENTER);
To (px specified):
// even out the dimentions to a square Large x Large
doc.resizeCanvas(UnitValue(large, "px"), UnitValue(large, "px"), AnchorPosition.MIDDLECENTER);
Copy link to clipboard
Copied