色彩處理
建立對象:
- 開發人員
- 使用者
RTF規格允許以\colortbl
指定的RGB色彩值。 每個元件分別提供\red
、\green
和\blue
命令。
專有的RTF延伸命令\cmykcolortbl
允許指定CMYK色彩,每個色彩元件都有\cyan
、\magenta
、\yellow
和\black
命令。
\colortbl
的顏色元件值在0到255的範圍內。 \cmykcolortbl
的元件值在0到100的範圍內。
textPs=
支援的RTF延伸命令\*\iscolortbl
提供指定具有標準「影像伺服」色彩值的色彩表的方法,支援完整RGB、灰色、CMYK和Alpha。 其語法如下:
{\*\iscolortbl; *colors*;}
colors 一或多個IS色彩值,以「;」分隔
可以在相同的text=
或textPs=
RTF字串中指定多種型別的色彩表。 每個色彩表可以有不同的專案數。 「影像伺服」會嘗試在\colortbl
之前依此順序尋找顏色: \iscolortbl
在\cmykcolortbl
之前(僅當文字圖層的畫素型別為CMYK時)。 若有需要(例如指定了RGB色彩,但需要CMYK輸出),僅適用於textPs=
,可在CMYK和RGB之間精確轉換顏色。 如果找不到特定索引值的顏色,則會使用預設顏色(黑色)。
如需IS色彩值的語法說明,請參閱色彩。
限制
修飾元text=
不支援\*\iscolortbl
。 修飾元textPs=
不支援\cmykcolortbl
。
呈現Photofonts時會忽略顏色選取範圍。
範例
允許使用變數控制三種文字色彩,同時當在標準RTF文字編輯器中開啟RTF字串時仍顯示色彩預設值。
…&$c1=ff0000&$c2=00ff00&$c3=0000ff&textPs={{\*\iscolortbl;$c1$;$c2$;$c3$;}{\colortbl;\red255;\green0;\blue0;\red0;\green255;\blue0;\red0;\green0;\blue255;}…}…
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設定檔對應參考
- 規則集參考
- 公用程式