アプリを作る際に作成した、xcf.txtの日本語訳です。目次はこちら
かなり思い切って意訳した箇所もあるので、原文と比べながら読んでください。本文中にもありますが、xcf.txtにもとづいてGIMPが実装されているわけではなく、GIMPの実装を反映したものがxcf.txtですので、ご注意ください。使用は自己責任でお願いします。訳文のライセンスはGPL3としておきます。
章ごとに分割して公開しています。
原文は通常の書体・訳文は斜体で、訳した時のメモや注は[]で囲ってあります。
随時修正しています。
SPECIFICATION OF THE XCF FILE FORMAT ==================================== Copyright Henning Makholm <henning@makholm.net>, 2006-07-11 This is free documentation; you can modify and/or redistribute it according to the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the license, or (at your option) any later version.
これはフリーのドキュメントです。あなたはFSFが定めるGPL(ver2.0またはそれ以上)に従って
この文書を改変・再配布することができます。
--------------------------------------------- T H I S I S A D R A F T O N L Y ! ---------------------------------------------
この文書は単なる草稿です!
This is the native image file format of GIMP. Beware that CinePaint's native file format is called XCF too. While the latter is derived from the format described here, the two formats differ in many details and are not mutually compatible.
XCFはGIMPのネイティブなイメージフォーマットです。
CinePaintのファイル形式もXCFと呼ばれていることに注意してください。
CinePaintにおけるXCFは、ここで解説するGIMPのXCF形式に由来しますが、
多くの細かな違いがあり、互換性はありません。
The XCF format is designed to store the entire part of the state of GIMP that is specific to one image (i.e., not the cut buffer, tool options, key bindings, etc.) and is not undo data. This makes the full collection of data stored in an XCF file rather heterogeneous and tied to the internals of GIMP. Use of the format by third-party software is recommended only as a way to get data into and out of the Gimp for which it would be impossible or inconvenient to use a more standard interchange format.
XCFフォーマットは、ある画像を開いている時のGIMP(というソフト)の状態を保存するために定められており(つまり、切り取ったデータやツールのオプション、ショートカットキーの設定などは守備範囲ではありません)、編集の過程(UNDOのデータ)は保存しません。
このため、XCFに保存されるデータは、他の画像フォーマットとかなり異なる上に、GIMPの内部処理と密接に結びついています。
サードパーティ製のソフトでのXCF形式の利用は、GIMPからの画像のインポート、またはGIMPで利用するためのエクスポートに限られるべきであり、一般的に流通するための画像形式としてXCFを用いることは不可能または不便です。
Authors of third-party XCF-creating software in particular should take care to write files that are as indistinguishable as possible from ones saved by GIMP. The GIMP developers take care to make each version of GIMP able to read XCF files produced by older versions, but they make no special efforts to allow reading of files created by other software that attempt to extrapolate from the GIMP source.
XCFファイルを生成するサードパーティ製アプリを作る際には、GIMPが生成するXCFファイルと全く同等の物を出力するよう最大限努めるべきです。
GIMP Developer Teamは、各バージョンのGIMPが以前のバージョンのGIMPで作られたXCFファイルを読み込むことができるようにしていますが、(GIMPのソースコードを解析して実装した)他のソフトによって作られたXCFファイルについては格別注意をはらってはいません。
The name -------- The name XCF honors GIMP's origin at the eXperimental Computing Facility of the University of California at Berkeley.
XCFという名前は。GIMPの発祥であるカリフォルニア大学バークレー校のeXperimental Computing Facilityにちなみます。
Status of this document ----------------------- This specification is an unofficial condensation and extrapolation of the XCF-writing and -reading code in version 2.2.11 of GIMP. As of this writing, it has not been approved or proofread by any Gimp developer, though it has been written with the intention of contributing it to the GIMP project for use as official documentation. Some of the normative statements made below are enforced by the XCF reader in GIMP; others are just the author's informed guess about "best practices" that would be likely to maximize interoperability with future versions of GIMP.
この文書の扱い
以下の解説は、GIMP ver.2.2.11のXCF-writing と-readingのコードから推測した非公式なものです。
GIMPの開発者による賛同や校正をえたものではありません。(GIMP projectに貢献できるよう、GIMP projectの公式ドキュメントとしての使用に堪えられるように書きましたが)
文章中で「こうすべき」と述べている箇所は、実際にGIMP内のXCF-readerによって強制されているものもあれば、今後のGIMPのバージョンとの互換性を最大限にするためにはこうしたほうがいいだろう、という筆者の推測であるものもあります。
0 件のコメント:
コメントを投稿