Returns coordinates for the quadrilateral enclosing the named Photoshop path.
Syntax
IpsAdmin
IpsCompanyAdmin
IpsUser
ImagePortalAdmin
ImagePortalUser
ImagePortalContrib
ImagePortalContribUser
Input (getPhotoshopPathParam)
Name | Type | Required | Description |
---|---|---|---|
companyHandle | xsd:string |
Yes | Handle to the company with the image you want to work with. |
assetHandle | xsd:string |
Yes | Handle to the image asset. |
pathName | xsd:string |
Yes | Name of the Photoshop path you want to return. |
Output (getPhotoshopPathReturn)
Name | Type | Required | Description |
---|---|---|---|
perspectiveQuad | types:PerspectiveQuad |
Yes | Returns image coordinates based on the path. See PerspectiveQuad. |
Request
<getPhotoshopPathParam xmlns="http://www.scene7.com/IpsApi/xsd/2012-07-31">
<companyHandle>c|301</companyHandle>
<assetHandle>a|26014</assetHandle>
<pathName>Face Path</pathName>
</getPhotoshopPathParam>
Response
<getPhotoshopPathReturn xmlns="http://www.scene7.com/IpsApi/xsd/2012-07-31">
<perspectiveQuad>
<x0>932.19</x0>
<y0>296.592</y0>
<x1>968.769</x1>
<y1>320.16</y1>
<x2>1119.56</x2>
<y2>1200.0</y2>
<x3>900.43</x3>
<y3>1200.0</y3>
</perspectiveQuad>
</getPhotoshopPathReturn>