gCAD3D 2.40
bmp_ut.c File Reference

BMP -Bitmap functions. More...

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

Data Structures

struct  bitMapRec1
 
struct  bitMapRec2
 
struct  colRec1
 
struct  BMPHeader
 

Functions

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

Variables

unsigned short bmp_MB = 'MB'
 

Detailed Description

BMP -Bitmap functions.

=====================================================
List_functions_start:
bmp_load load bmp-file into memory
bmp_info1 test if file is bmp-file
bmp_save__ save pixmap as bmp-file
List_functions_end:
=====================================================

Function Documentation

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

Variable Documentation

unsigned short bmp_MB = 'MB'