>>671
> 画像ファイルフォーマットについて訊きたいが、適当なスレがないんだな・・・
> TGA フォーマットの 17 バイト目にあるデスクリプタの
> 0ビット目から3ビット目にある「属性 attribute」ってどういう意味の情報?
> とりあえず今のところスクリプタに 00000000 が入ってるファイルと
> 00001000 が入ってるファイルを見つけたんだけど、違いが分からない。

2 バイト目の Image Type Code によるけど、

Bits 3-0 -
number of attribute bits associated with each pixel.
For the Targa 16, this would be 0 or 1.
For the Targa 24, it should be 0.
For the Targa 32, it should be 8.

ということらしいから、Targa32 ということじゃね。

Targa32 が何物かは知らないけど。

http://paulbourke.net/dataformats/tga/