Answered
Remove first bounds in Script
I have PNG File. I want to remove first bounds in script.
Step 1:- Open PNG File.
Step 2:- Load Selection
Step 3:- I have marked. Remove First Bounds in Script

I have PNG File. I want to remove first bounds in script.
Step 1:- Open PNG File.
Step 2:- Load Selection
Step 3:- I have marked. Remove First Bounds in Script

b = (slctn = (aD = activeDocument).selection).bounds;
slctn.store(newChnnl = aD.channels.add()), slctn.select
([[b[0], b[1]], [b[2], b[1]], [b[2], b[3]], [b[0], b[3]]])
slctn.load(newChnnl, SelectionType.DIMINISH)
aD.activeChannels = aD.componentChannelsAlready have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.