Answered
Resample Method not exectued
I am trying to resize an image using photoshop with below command.
alert("Before Resizing"); -> executed
// document.resizeImage(parseInt(row.width), undefined, undefined); //working
document.resizeImage(parseInt(row.width), undefined, undefined,ResampleMethod.NONE); //not working
alert("After Resizing"); -> not executed because ResampleMethod.NONE is added.
As from the code, adding ResampleMethod to resizeImage results in error and code execution is stopped.
I am using the code in jsx file
