掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
RTFファイルに含まれる画像をTGraphicとして扱いたい (ID:47762)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
訂正: 歴史的経緯としては WMF ファイルのヘッダは Aldus のもののようですね。 http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/Windows_Server_Protocols.zip この中に含まれる [MS-WMF].pdf には META_PLACEABLE 構造体として紹介してあり、以下のような説明があります。 [2.3.2.3 META_PLACEABLE Record (P.123) より] Key (4 bytes): Identification value that indicates the presence of a placeable metafile header. This value MUST be 0x9AC6CDD7. HWmf (2 bytes): The resource handle to the metafile, when the metafile is in memory. When the metafile is on disk, this field MUST contain 0x0000. This attribute of the metafile is specified in the Type field of the META_HEADER record. BoundingBox (8 bytes): The destination rectangle, measured in logical units, for displaying the metafile. The size of a logical unit is specified by the Inch field. Inch (2 bytes): The number of logical units per inch used to represent the image. This value can be used to scale an image. By convention, an image is considered to be recorded at 1440 logical units (twips) per inch. Thus, a value of 720 specifies that the image SHOULD be rendered at twice its normal size, and a value of 2880 specifies that the image SHOULD be rendered at half its normal size. Reserved (4 bytes): A field that is not used and MUST be set to 0x00000000. Checksum (2 bytes): A checksum for the previous 10 16-bit values in the header. This value can be used to determine whether the metafile has become corrupted. Microsoft の公式資料なので、これを参考にするのがいいかと思います。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.