How to get bounding box of a layer mask?
I am trying to get the bounding box of a layer mask, as well as a group containing layer masks... yet no matter what I do, it always returns the full size of the canvas 0,0 to max. Is there a way to do this via javascript? I would think Photoshop is smart enough to spit this back, considering I can scale a layer mask and the mask portion is scaled, not the entire canvas size.
