Photoshop script

Photoshop script

Closed - This job posting has been filled and work has been completed.

Job Description

There is a psd with multiple layers. On each layer there is an object, the rest of the layer is transparent. Write a photoshop script that does the following:

For each layer, find the x, y, with and height coordinates for the minimum bounding box that can select the whole object.

Print out the data for each layer to a text file like this:
layer name, x, y, width, height
layer name, x, y, width, height
layer name, x, y, width, height

Attached is a png to demonstrate what I want, as well as a psd you can use to test the script.

---
Skills: test

Open Attachment