JPEG/APP > JPEG/APP14
- https://www.itu.int/rec/T-REC-T.872-201206-I
Transform flag values of 0, 1 and 2 shall be supported and are interpreted as follows:
0 – CMYK for images that are encoded with four components in which all four CMYK values are complemented; RGB for images that are encoded with three components; i.e., the APP14 marker does not specify a transform applied to the image data.
1 – An image encoded with three components using YCbCr colour encoding.
2 – An image encoded with four components using YCCK colour encoding.
APP14
- APP14 (0xFFEE) Adobe セグメント
Transformフラグが2の場合、YCCKとして画像を変換
Transformフラグが1の場合、YCbCrとして画像を変換
Transformフラグが0の場合、特定されませんが、SOFのコンポーネントが3つの場合RGB、4つの場合CMYKと仮定して変換するようです。
カラースペース