量化
建立對象:
- 開發人員
- 使用者
色彩量化。 指定GIF輸出轉換的色彩量化屬性。
quantize= *
type*[, *
dither*[, *
numColors*[, *
colorList*]]]
型別 |
{adaptive|web|mac} 指定調色盤型別。 設定為最適化以計算影像的最佳調色盤。 設定為 Web 或 Mac 以選擇預先定義的調色盤。 注意: mac 托盤型別僅支援GIF和PNG8格式,不支援GIFAlpha和PNG8Alpha格式。 |
遞色 |
{擴散|關閉} 指定遞色選項。 針對Floyd-Steinberg誤差擴散設定為擴散 設定關閉以停用遞色。 |
numColors |
輸出色彩的數目(2-256) 指定最適化調色盤中包含多少色彩。 |
色彩清單 |
以逗號分隔的強制十六進位RGB顏色清單 可讓您指定要包含在最適化調色盤中的色彩。 如果指定的色彩數目小於 numColors ,則會根據影像內容計算其他色彩。 |
屬性
要求屬性。 無論目前的圖層設定為何,都適用。 僅在fmt=gif
、fmt=gif-alpha
、fmt=png8
或fmt=png8-alpha
時使用。 否則會忽略。
以 colorList
指定的色彩必須包含hex6格式的RGB值(請參閱不含0x
首碼的色彩)。 不允許使用其他顏色規範。 修飾元 numColors
必須是2-256。
預設
quantize=adaptive,diffuse,256
範例
使用web
調色盤產生GIF縮圖,且無遞色:
http:// *
伺服器*/myRootId/myImageId?req=tmb&fmt=gif&quantize=web,off
將影像轉換為具有關鍵色彩透明度的雙調GIF。 而且,強制色彩為黑白:
http:// *
伺服器*/myRootId/myImageId?fmt=gif-alpha&wid=100&quantize=adaptive,off,2,000000,ffffff
Experience Manager
- Dynamic Media影像提供與影像轉譯API首頁
- 關於此版本
- 系統需求和先決條件
- 磁碟空間需求與建議
- 限制和已知問題
- 技術支援
- 檔案慣例
- 安裝
- 影像伺服API
- 影像伺服API
- 目標讀者
- 影像伺服元件
- 設定和管理
- 提供靜態(非影像)內容
- 疑難排解
- HTTP通訊協定參考
- HTTP通訊協定參考概述
- HTTP通訊協定簡介
- 語法和功能
- 文字格式設定
- 資料型別
- 命令參考
- 命令參考概述
- 對齊
- 錨記
- bfc
- bgc
- bgColor
- 混合模式
- 快取
- 剪裁路徑
- clipXPath
- 色彩
- 裁切
- cropPathE
- 預設影像
- dpr
- 效果
- effectMask
- 延伸
- 符合
- 翻轉
- fmt
- hei
- 隱藏
- icc
- iccEmbed
- id
- imageSet
- jpegSize
- 圖層
- 地區設定
- 地圖
- 遮色片
- 遮色片使用
- 網路
- op_blur
- op_brightness
- op_colorbalance
- op_colorize
- op_contrast
- op_grow
- op_growMask
- op_growMaskR
- op_hue
- op_invert
- op_noise
- op_saturation
- op_sharpen
- op_usm
- op_usmR
- opac
- 來源
- pathAttr
- pathEmbed
- 透視
- pos
- printRes
- pscan
- qlt
- 量化
- 矩形
- 需要
- res
- 解析模式
- rgn
- 旋轉
- 縮放
- scl
- 大小
- src
- 範本
- 文字
- textAngle
- textAttr
- 文字流程路徑
- textFlowXPath
- 文字路徑
- textPs
- type
- wid
- xmpEmbed
- 回應資料
- 伺服器行為
- 範本
- FXG伺服器通訊協定參考
- 影像目錄參考
- 屬性
- 屬性參考
- AllowDirectAccess
- AllowDirectUrls
- ApplyEffectMask
- 音訊位元速率
- Bfc
- BkgColor
- CacheValidationPolicy
- ClientAddressfilter
- 目錄檔案
- DefaultExpiration
- 預設分機
- 預設字型
- 預設影像
- 預設影像模式
- DefaultLocale
- 預設畫素
- DefaultthumbPix
- DigimarcId
- DigimarcInfo
- ErrorImage
- 錯誤詳細資料
- 過期
- 字型地圖檔案
- Fullmatch
- HttpAppleStreamingContext
- HttpFlashStreamingContext
- IccBlackPointCompensation
- Icc遞色
- IccProfileCmyk
- IccProfileGray
- IccProfileMapFile
- IccProfileRgb
- IccProfileSrcCmyk
- IccProfileSrcGray
- IccProfileSrcRgb
- IccRenderIntent
- Jpeg品質
- LocaleMap
- LocaleStrMap
- 巨集檔案
- MaxPix
- NonImgExpiration
- Publishinfo
- PrintResolution
- RequestLock
- 要求模糊化
- 解析模式
- 解析度
- RootId
- 根路徑
- RootUrl
- 規則集檔案
- 儲存路徑
- statictcontentcatalogfile
- staticcontentrootpath
- svgcatalogfile
- 合成字型樣式
- ThumbBkgColor
- ThumbHorizAlign
- 縮圖
- 縮圖型別
- ThumbVertAlign
- 時間戳記
- TotalStreamBitRate
- TrustedDomain
- UseLastModified
- videobitrate
- VideoSize
- 浮水印
- 影像/SVG資料參考
- 巨集定義
- 字型地圖
- ICC設定檔對應參考
- 規則集參考
- 影像伺服器Proxy
- 回應式靜態影像程式庫
- 影像演算API
- 影像演算API
- 設定
- 伺服器管理
- HTTP通訊協定參考
- 材質目錄
- 材質目錄
- 簡介
- 材質目錄概觀
- 屬性參考
- 屬性參考
- AllowDirectURLs
- CacheValidationPolicy
- 目錄檔案
- ClientAddressfilter
- 預設畫素
- 錯誤詳細資料
- ErrorImage
- 過期
- 格式
- IccBlackPointCompensation
- Icc遞色
- IccProfileCmyk
- IccProfileGray
- IccProfileMapFile
- IccProfileRgb
- IccProfileSrcCmyk
- IccProfileSrcGray
- IccProfileSrcRgb
- IccRenderIntent
- Jpeg品質
- 巨集檔案
- MaxPix
- OnFailObj
- OnFailSel
- 轉譯設定
- 解析模式
- 解析度
- RootId
- 根路徑*
- RootUrl *
- 規則集檔案
- Sharp
- 銳利化
- ShowOverlapObj
- TiffEncoding
- 時間戳記
- 信任網域*
- UseLastModified
- VignettemapFile
- 原物料資料參考
- 暈映地圖參考
- 巨集定義參考
- ICC設定檔對應參考
- 規則集參考
- 公用程式