home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m242 / 1.ddi / HFILES.ZIP / PCX.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-01-03  |  959 b   |  20 lines

  1. struct pcx_hdr{
  2.     unsigned char manufac;          /* manufacturer             */
  3.     unsigned char version;          /* paintbrush version #     */
  4.     unsigned char encode;           /* 1 = run length encoded   */
  5.     unsigned char bits_pix;         /* bits per pixel           */
  6.    int           xmin;             /* picture dimensions       */
  7.    int           ymin;
  8.    int           xmax;
  9.    int           ymax;
  10.    int           hres;             /* horizontal and vertical     */
  11.    int           vres;             /* resolutions              */
  12.    unsigned char palette[16][3];   /* palette info             */
  13.    unsigned char reserve;          /* reserved                 */
  14.    unsigned char planes;           /* number of color planes   */
  15.    int           bytsline;         /* Bytes per line           */
  16.    int           pal_info;         /* palette info             */
  17.    unsigned char filler[58];       /* fill out 128 byte header */
  18. };
  19.  
  20.