getPhotoshopPath
Returns coordinates for the quadrilateral enclosing the named Photoshop path.
Syntax
Authorized User Types
IpsAdmin
IpsCompanyAdmin
IpsUser
ImagePortalAdmin
ImagePortalUser
ImagePortalContrib
ImagePortalContribUser
- ``
Parameters
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.
Examples
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>
4e9b9d8c-5839-4215-aa35-01b652869681