namespace Tga.Core { public class TGAHeader { // information pour la structure du fichier public byte id_length; //taille de l'ID (si il y en a) (0 y a pas; jusqu'a 255) public byte color_map_type; // indique seulement si il a un index (0 ou 1) public byte image_type; // indique de quel type est l'image (de 0 à 11 ici) //informations sur l'index (color_map_type = 1) public ushort cm_first_entry; // indique ou se situe la premiere entree public ushort cm_length; // indique le nombre d'entrees dans l'index public byte cm_size; // taille en bits d'une entree dans l'index // informations sur le corp de l'image public ushort is_xorigin; // point d'origine Width (normalement 0) je n'en tiens pas compte public ushort is_yorigin; // point d'origine Height (normalement 0) je n'en tiens pas compte public ushort is_width; // taille de l'image en Width public ushort is_height; // taille de l'image en Height public byte is_pixel_depth; // taille (en bits) d'un pixel : 8, 16, 24 ou 32 public byte is_image_descriptor; // ordre d'agencement de l'image et autre ??? }; }