Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

How to get all layer coords, sizes, and move them?

$
0
0
I just downloaded the SDK and it seems like a vast amount of information for something pretty simple that I need to do.

I need to get all the sizes and coordinates/location refs of all layers (in reference to the document they are placed in) move them, and to output it all to txt/xml.

Basically I'm making an image/sprite packer plug-in similar to this but integrated will photoshop: http://homepage.ntlworld.com/config/imagepacker/

I'll probably end up using an action/scripting for the non-essential parts so all I need is the layer/movement refs for working with my packing algorithms.

Any help would be very much appreciated, even if it is just pointing out where to find this info in the SDK's PDFs, or kicking some code my way ;), it would be great.

Viewing all articles
Browse latest Browse all 54282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>