getPhotoshopPath getphotoshoppath

Returns coordinates for the quadrilateral enclosing the named Photoshop path.

Syntax

Authorized User Types section-c417a287612847cb98dd0aa9c67fd78a

  • IpsAdmin
  • IpsCompanyAdmin
  • IpsUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser
  • ``

Parameters section-ebffe496284c4ced9f329f78127be199

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 section-1f0461cbdc184c8d8925336d5279db47

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>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681