1 /*************************************************
3 * EasyBMP Cross-Platform Windows Bitmap Library *
5 * Author: Paul Macklin *
6 * email: macklin01@users.sourceforge.net *
7 * support: http://easybmp.sourceforge.net *
10 * date added: 01-31-2005 *
11 * date modified: 12-01-2006 *
14 * License: BSD (revised/modified) *
15 * Copyright: 2005-6 by the EasyBMP Project *
17 * description: Main include file *
19 *************************************************/
22 // MS Visual Studio gives warnings when using
23 // fopen. But fopen_s is not going to work well
24 // with most compilers, and fopen_s uses different
25 // syntax than fopen. (i.e., a macro won't work)
26 // So, we'lll use this:
27 #define _CRT_SECURE_NO_DEPRECATE
39 // The Borland compiler must use this because something
40 // is wrong with their cstdio file.
47 // If g++ specific code is ever required, this is
51 #ifdef __INTEL_COMPILER
52 // If Intel specific code is ever required, this is
56 #ifndef _DefaultXPelsPerMeter_
57 #define _DefaultXPelsPerMeter_
58 #define DefaultXPelsPerMeter 3780
59 // set to a default of 96 dpi
62 #ifndef _DefaultYPelsPerMeter_
63 #define _DefaultYPelsPerMeter_
64 #define DefaultYPelsPerMeter 3780
65 // set to a default of 96 dpi
68 #include "EasyBMP_DataStructures.h"
69 #include "EasyBMP_BMP.h"
70 #include "EasyBMP_VariousBMPutilities.h"
72 #ifndef _EasyBMP_Version_
73 #define _EasyBMP_Version_ 1.06
74 #define _EasyBMP_Version_Integer_ 106
75 #define _EasyBMP_Version_String_ "1.06"
78 #ifndef _EasyBMPwarnings_
79 #define _EasyBMPwarnings_
82 void SetEasyBMPwarningsOff( void );
83 void SetEasyBMPwarningsOn( void );
84 bool GetEasyBMPwarningState( void );