Re: Adobe Photoshop Bounds of a layer?
Re: Adobe Photoshop Bounds of a layer?
- Subject: Re: Adobe Photoshop Bounds of a layer?
- From: Martin Orpen <email@hidden>
- Date: Wed, 03 Sep 2014 00:02:47 +0100
On 2 Sep 2014, at 08:05, Dave <email@hidden> wrote:
> It seems that bounds is specified to be Top, Left, Bottom,Right (old pre MacOS X style Rects), my question is, to correctly calculate the Width and Height, should the code be:
Photoshop’s layer bounds are Left, Top, Right, Bottom
So
width = bounds[3] - bounds[1]
height = bounds[4] - bounds[2]
--
Martin Orpen
Idea Digital Imaging Ltd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden