| 1 |
/****************************************************************************\ |
| 2 |
Part of the XeTeX typesetting system |
| 3 |
Copyright (c) 1994-2006 by SIL International |
| 4 |
|
| 5 |
SIL Author(s): Jonathan Kew |
| 6 |
|
| 7 |
This program is free software; you can redistribute it and/or modify |
| 8 |
it under the terms of the GNU General Public License as published by |
| 9 |
the Free Software Foundation; either version 2 of the License, or |
| 10 |
(at your option) any later version. |
| 11 |
|
| 12 |
This program is distributed in the hope that it will be useful, |
| 13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
GNU General Public License for more details. |
| 16 |
|
| 17 |
You should have received a copy of the GNU General Public License |
| 18 |
along with this program; if not, write to the Free Software |
| 19 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
| 20 |
\****************************************************************************/ |
| 21 |
|
| 22 |
/* this file is derived from the dvipdfmx project; |
| 23 |
the original header follows... */ |
| 24 |
|
| 25 |
/* $Header: /home/cvsroot/dvipdfmx/src/bmpimage.h,v 1.1 2004/07/25 11:54:20 hirata Exp $ |
| 26 |
|
| 27 |
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. |
| 28 |
|
| 29 |
Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata, |
| 30 |
the dvipdfmx project team <[email protected]> |
| 31 |
|
| 32 |
Copyright (C) 1998, 1999 by Mark A. Wicks <[email protected]> |
| 33 |
|
| 34 |
This program is free software; you can redistribute it and/or modify |
| 35 |
it under the terms of the GNU General Public License as published by |
| 36 |
the Free Software Foundation; either version 2 of the License, or |
| 37 |
(at your option) any later version. |
| 38 |
|
| 39 |
This program is distributed in the hope that it will be useful, |
| 40 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 41 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 42 |
GNU General Public License for more details. |
| 43 |
|
| 44 |
You should have received a copy of the GNU General Public License |
| 45 |
along with this program; if not, write to the Free Software |
| 46 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
| 47 |
*/ |
| 48 |
|
| 49 |
|
| 50 |
#ifndef _BMPIMAGE_H_ |
| 51 |
#define _BMPIMAGE_H_ |
| 52 |
|
| 53 |
#include "mfileio.h" |
| 54 |
|
| 55 |
struct bmp_info { |
| 56 |
int width; |
| 57 |
int height; |
| 58 |
double xdpi; |
| 59 |
double ydpi; |
| 60 |
int bits_per_component; |
| 61 |
int num_components; |
| 62 |
}; |
| 63 |
|
| 64 |
extern int bmp_scan_file(struct bmp_info *info, FILE *file); |
| 65 |
extern int check_for_bmp(FILE *file); |
| 66 |
|
| 67 |
#endif /* _BMPIMAGE_H_ */ |