Copy link to clipboard
Copied
Cropping a lot of images one by one. Need your help to speed up the process.
Final image should be :
Aspect ratio 3:4.
Keep the background color.(might change...but mostly in the 240-255 values)
Center the subject.
Crop above the nose.
Any help is appreciated !
#target photoshop
var lr = new AM('layer'),
doc = new AM('document');
lr.copyCurentToLayer()
lr.liquify()
lr.fade('difference')
lr.levels([0, 0.2, 8])
lr.makeSelectionFromChannel('blue')
if (doc.hasProperty('selection')) {
var selectionBounds = doc.descToO
...
Copy link to clipboard
Copied
Can someone help me, I have never made a script before and from the same photoshoot I need to crop to different vendors at pixel ratios all 300dpi. Some vendors have the crop right under the eyes like the image posted here, others have crops right below the nose, above the lips and then also right below the lip.
i know for certian crops, the backgounds would need to be expanded, so i applied the RGB values.
Macy's Full body - 3894px x 4755px crop under eyes Background RGB 245
Macy's Half Body - 3894px x 4755px Crop mid thigh Background RGB 245
Nordstrom - 2640px x 4048px crop right under nose Background RGB 255
Walmart - 1500px x 2000px crop right below the lip Background RGB 255
Saks Full body - 3000px x 3000px crop under eyes Background RGB 255
Saks Half Body - 3000px x 3000px Crop mid thigh Background RGB255
Thank you in advance!