psd icon indicating copy to clipboard operation
psd copied to clipboard

getting layer size

Open vercamach opened this issue 3 months ago • 0 comments

I'm trying to get the size of the layers and it is wildly off if I use top, bottom, left, right to calculate it.

I found some box bounds here layer.layerData.textProperties.EngineDict.Rendered.Shapes.Children[0].Cookie.Photoshop .BoxBounds but text layers don't always have this.

How can I find a position and size of the layers from the data provided?

vercamach avatar Sep 18 '25 11:09 vercamach