Translation:Page Item Containing an Imported Graphic
From IDMLWiki
Contents |
配置画像を含むページオブジェクト
配置された画像は常にページオブジェクトの内部にあります。そのページオブジェクトは長方形、直線、楕円または多角形です。グラフィックフレームのページオブジェクトに対しての特別なクラスはありません。
スキーマの例29 Imageスキーマ
mage_Object = element Image {
attribute Self { xsd:string },
attribute FillColor{ xsd:string }?,
attribute FillTint{ xsd:double }?,
attribute OverprintFill{ xsd:boolean }?,
attribute Nonprinting { xsd:boolean }?,
attribute Space { xsd:string }?,
attribute ActualPpi{ list { xsd:double ,xsd:double } }?,
attribute EffectivePpi{ list { xsd:double ,xsd:double } }?,
attribute ImageRenderingIntent{ RenderingIntent_EnumValue }?,
attribute LocalDisplaySetting{ DisplaySettingOptions_EnumValue }?,
attribute ImageTypeName{ xsd:string }?,
attribute AppliedObjectStyle{ xsd:string }?,
attribute ItemTransform{ TransformationMatrixType_TypeDef }?,
element Properties {element Profile {(enum_type, Profile_EnumValue ) |
(string_type, xsd:string )
}?&
element Contents { text }?&
element GraphicProxy{ text }?&
element ClippingPathGeometry{ element GeometryPath{ GeometryPath_TypeDef }*
}?&
element GraphicBounds{ RectangleBoundsType_TypeDef }?&
element Label { element KeyValuePair{ KeyValuePair_TypeDef }*
}?
}?,(TransparencySetting_Object?&StrokeTransparencySetting_Object?&FillTransparencySetting_Object?&ContentTransparencySetting_Object?&TextWrapPreference_Object?&MetadataPacketPreference_Object?&Link_Object*&ClippingPathSettings_Object?&ImageIOPreference_Object?&GraphicLayerOption_Object?&LayerCompOption_Object?)}
| 名前 | 値 | 必須 | 説明 |
|---|---|---|---|
| AppliedObjectStyle | string | 適用するオブジェクトスタイル | |
| FillColor | string | 塗りに適用するスウォッチ(カラー、グラデーション、濃淡または混合インキ) | |
| FillTint | double | 塗りの濃淡(0-100。継承またはオーバーライドは-1) | |
| ImageRenderingIntent | RenderingIntent_EnumValue | マッチング方法。UseColorSettings(ドキュメントの画像インテントを使用)、Perceptual(知覚的)、Saturation(彩度)、Relativecolorimetric(相対的な色域を維持)またはAbsolutecolorimetric(絶対的な色域を維持) | |
| ImageTypeName | string | イメージのタイプ | |
| ItemTransform | TransformationMatrixType_TypeDef | 変換行列 | |
| LocalDisplaySetting | DisplaySettingOptions_EnumValue | 表示画質。HighQuality(高品質表示)、Typical(高速表示)、Optimized(一般表示)またはDefault(親オブジェクトのデフォルトの設定) | |
| Nonprinting | boolean | trueのとき、イメージは印刷されない | |
| OverprintFill | boolean | trueのとき、塗りはオーバープリントになる。falseのとき、ノックアウトになる | |
| Space | string | カラースペース | |
| ClippingPathGeometry | GeometryPath | クリッピングパス | |
| Contents | text | 画像が外部リンクではなく埋め込まれているとき、このエレメントに画像のデータを含む | |
| GraphicBounds | RectangleBounds | [x1, y1, x2, y2]で表される境界線 | |
| GraphicProxy | text | プロクシイメージ | |
| Profile | Profile_EnumValueまたはstring | プロファイル。プロファイルの列挙か文字列を返す。PostScriptCMS(PostScript CMSプロファイルを使用)、UseDocument(ドキュメントのプロファイルを使用)、Working(作業用プロファイルを使用)またはNoCMS(CMSプロファイル不使用) |
下記は長方形の中に配置された画像の例です。(前の例と同じ)XMPメタデータを省略してみましょう。
IDMLの例20 配置画像を含むページオブジェクト
<Rectangle Self="ucd" ItemTransform=" 1 0 0 1 0 0"><Properties><PathGeometry><GeometryPath PathOpen=" false"><PathPointArray><PathPointType Anchor="72 -324" LeftDirection=" 72 -324" RightDirection=" 72 -324"/><PathPointType Anchor="72 -252" LeftDirection=" 72 -252" RightDirection=" 72 -252"/><PathPointType Anchor="144 -252" LeftDirection=" 144 -252" RightDirection=" 144 -252"/><PathPointType Anchor="144 -324" LeftDirection=" 144 -324" RightDirection=" 144 -324"/></PathPointArray></GeometryPath></PathGeometry></Properties><Image Self="udd" Space="$ID/#Links_RGB" ActualPpi=" 300 300" EffectivePpi=" 500 500" ImageRenderingIntent=" UseColorSettings" LocalDisplaySetting=" Default" ImageTypeName="$ ID/JPEG" AppliedObjectStyle=" ObjectStyle/$ ID/[None]" ItemTransform=" 0.6 0 0 0.6 64.77191011235956 -335.27547826086965"><Properties><Profile type="string">$ID/Embedded</Profile>
<GraphicBounds Left="0" Top="0" Right="144" Bottom="157.44"/></Properties><Link Self="ue2" AssetURL="$ ID/" AssetID="$ ID/" LinkResourceURI=" file://ruri/documents/IDML/assets/pumpkin.jpg" LinkResourceFormat="$ ID/JPEG" StoredState=" Normal" LinkClassID=" 35906" LinkClientID=" 257" LinkResourceModified=" false" LinkObjectModified=" false" ShowInUI=" true" CanEmbed=" true" CanUnembed=" true" CanPackage=" true" ImportPolicy=" NoAutoImport" ExportPolicy=" NoAutoExport" LinkImportStamp=" file 128385019586602016 396019" LinkImportModificationTime=" 2007-11-02T11:32:38" LinkImportTime=" 2008-06-12T17:37:35"/><ClippingPathSettings ClippingType=" None" InvertPath=" false" IncludeInsideEdges=" false" RestrictToFrame=" false" UseHighResolutionImage=" true" Threshold="25" Tolerance="2" InsetFrame ="0" AppliedPathName="$ ID/" Index="-1"/><ImageIOPreference ApplyPhotoshopClippingPath=" true" AllowAutoEmbedding=" true" AlphaChannelName="$ ID/"/></Image></Rectangle>
画像は長方形より少し大きくなっています。InDesignのUIで画像を選択すると、画像の境界線が長方形の外側にあることがわかります。(下の図は、画像が選択された状態です。ライトブルーのグラフィックフレームが、画像の境界線の内側にあります)

