saveImageFormat saveimageformat

建立影像格式。

NOTE
urlModifier 欄位值必須包含有效的XML。 例如,變更 &&. 取得 urlModfier IPS使用者介面的值。

授權的使用者型別 section-12c9d8d5933f4692bafb194060b4f882

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

參數 section-b1fc2fe8d606490ba3a2c979ab8bbd78

輸入(saveImageFormatParam)

名稱
類型
必要
說明
companyHandle
xsd:string
具有您要使用之影像格式的公司控制代碼。
imageFormatHandle
xsd:string
您要儲存的影像格式控制代碼。
name
xsd:string
影像格式名稱。
urlModifier
xsd:string
這可以是任何IPS通訊協定查詢字串。 產生URL修飾元的最簡單方式是使用IPS使用者介面建立一個URL,然後剪下並貼上查詢字串。

輸出(saveImageFormatReturn)

名稱
類型
必要
說明
imageFormatHandle
xsd:string
影像格式的控制代碼。

範例 section-c7bd733212ef494297a97093f3af193f

此程式碼範例會建立影像格式。 在此範例中, urlModifier 是由具有有效HTML格式的IPS使用者介面中的值所決定。

請求

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