bmp_ut.c File Reference


Detailed Description

BMP read bmp_.

=====================================================
Liste_Funktionen_Beginn:

bmp_load    load bmp-file into memory

Liste_Funktionen_Ende:
=====================================================

Bits per Pixel   
   1 = monochrome palette. NumColors = 1   
   4 = 4bit palletized. NumColors = 16   
   8 = 8bit palletized. NumColors = 256  
  16 = 16bit RGB. NumColors = 65536 (?)  
  24 = 24bit RGB. NumColors = 16M

Type of Compression   
  0 = BI_RGB   no compression   
  1 = BI_RLE8 8bit RLE encoding   
  2 = BI_RLE4 4bit RLE encoding

#include "../xa/MS_Def0.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/byteorder.h"

Data Structures

struct  bitMapRec1
struct  bitMapRec2
struct  colRec1

Functions

int bmp_load (void **mSpc, int *ix, int *iy, char *fnam)


Function Documentation

int bmp_load ( void **  mSpc,
int *  ix,
int *  iy,
char *  fnam 
)


Generated on Sat May 30 09:31:54 2009 for gCAD3D by  doxygen 1.5.6