createVignettePublishFormat createvignettepublishformat
Creates a new publish format for a vignette.
Vignette formats specify the size of published vignettes and their thumbnails, as well as zoom levels, sharpening parameters, and the file format version for vignettes produced from primary vignettes published to an Image Rendering server from IPS.
Newer Image Rendering server versions can support pyramid vignettes, which eliminates the need to define specific vignette format sizes for publishing.
Authorized User Types section-f5c563e3695c4dba8df41e2a965aace7
IpsAdmin
IpsCompanyAdmin
TrialSiteAdmin
ImagePortalAdmin
Parameters section-3a368186ec1d4005bca056fc9d9bacc7
Input (createVignettePublishFormatParam)
Specifies the target width of the resulting vignette view in pixels.
Use zero so the output vignette has the same size as the primary vignette.
Output (createVignettePublishFormatReturn)
xsd:string
Examples section-0564752d439642b9bb8de2903db6de1e
This code creates vignette publish format. The creation request specifies a name, target width and height, and other required values.
Request
<createVignettePublishFormatParam xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
<companyHandle>c|21</companyHandle>
<name>APIcreateVignettePublishFormat1</name>
<targetWidth>1200</<targetWidth>
<targetHeight>800</targetHeight>
<createPyramid>true</createPyramid>
<thumbWidth>400</thumbWidth>
<saveAsVersion>0</saveAsVersion>
<sizeSuffixSeparator>-</sizeSuffixSeparator>
<sharpen>50</sharpen>
<usmAmount>230.0</usmAmount>
<usmRadius>1.1</usmRadius>
<usmThreshold>130</usmThreshold>
</createVignettePublishFormatParam>
Response
<createVignettePublishFormatReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
<vignetteFormatHandle>v|21|282</vignetteFormatHandle>
</createVignettePublishFormatReturn>