Skip to main content
Participant
January 24, 2018
Question

Adobe Photoshop File Formats Specification について

  • January 24, 2018
  • 2 replies
  • 921 views

Adobe Photoshop File Formats Specification

上記URL で公開されている PSD のファイルフォーマットについてですが、ページ内では

①「Layer and Mask Information Section」の末尾に「Additional Layer Information」が格納されることになっており

また、「Layer records」の末尾には「Additional Layer Information」が格納されているように記載されておりません。

② しかし、そこからさらにページを下にスクロールしてゆくと、「Additional Layer Information」の部分に

There are several types of layer information that have been added in Photoshop 4.0 and later.

These exist at the end of the layer records structure (see the last row of See Layer records).

They have the following structure:

という記載があります(Layer records の末尾に存在する)

この ① と ② で矛盾しているのですが、フォーマット形式としては ① と ② のどちらが正しいのでしょうか?

(実際に PSD ファイルを読み込んでみると Layer records の末尾に Additional Layer Information が含まれている様子でした)

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Participant
    February 6, 2018

    残念ながら Adobe スタッフの助けを得る前に自己解決しました。

    両方に追加のレイヤ情報が入ってくるようです。

    また「Layer Records」の「Length of the extra data field」にも「次の5つのフィールドのトータルの長さ」といった意味合いの説明が書かれてますが

    4

    Length of the extra data field ( = the total length of the next five fields).

    Variable

    Layer mask data: See See Layer mask / adjustment layer data for structure. Can be 40 bytes, 24 bytes, or 4 bytes if no layer mask.

    Variable

    Layer blending ranges: See See Layer blending ranges data.

    Variable

    Layer name: Pascal string, padded to a multiple of 4 bytes.

    5つのフィールド・・・???

    ・・・諸々を含め、ファイルフォーマットの仕様書を書き直せる技術者が残っているのであれば修正されたほうが良心的かと思います。

    assause
    Community Expert
    Community Expert
    January 24, 2018

    ジャパンフォーラムではDeveloper関連の質疑応答は難しいと思います。

    今回の場合、USのSDKスペースのほうが適切かもしれません。

    (それも断言はちょっと難しいんですが)

    Photoshop Plugin and Companion App SDK