saveImageFormat

建立影像格式。

注意

urlModifier 欄位值必須由有效的XML組成。 例如,更改 &&。 獲取 urlModfier IPS用戶介面中的值。

授權用戶類型

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

參數

輸入(saveImageFormatParam)

名稱 類型 必要 說明
公司句柄 xsd:string 要使用的影像格式的公司的句柄。
imageFormatHandle xsd:string 要保存的影像格式句柄。
名稱 xsd:string 影像格式名稱。
url修飾符 xsd:string 這可以是任何IPS協定查詢字串。 生成URL修飾符的最簡單方法是使用IPS用戶介面建立URL修飾符,然後剪切並貼上查詢字串。

輸出(saveImageFormatReturn)

名稱 類型 必要 說明
imageFormatHandle xsd:string 影像格式的句柄。

範例

此代碼示例建立影像格式。 在本例中, urlModifier 是由其在IPS用戶介面中的值所決定的,具有有效的HTML格式。

請求

<saveImageFormatParam xmlns="http://www.scene7.com/IpsApi/xsd">
   <companyHandle>47</companyHandle>
   <name>My Image Format Name</name>
   <urlModifier>wid=400&amp;hei=400&amp;fmt=jpeg&amp;qlt=750&amp;op_sharpen=0&amp;
   resMode=bicub&amp;op_usm=0.0,0.0,0,0&amp;iccEmbed=0
   </urlModifier>
</saveImageFormatParam>

回答

<saveImageFormatReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <imageFormatHandle>47|301</imageFormatHandle>
</saveImageFormatReturn>

本頁內容