2 |
- |
1 |
/* Copyright (C) 1998 Aladdin Enterprises. All rights reserved.
|
|
|
2 |
|
|
|
3 |
This software is provided AS-IS with no warranty, either express or
|
|
|
4 |
implied.
|
|
|
5 |
|
|
|
6 |
This software is distributed under license and may not be copied,
|
|
|
7 |
modified or distributed except as expressly authorized under the terms
|
|
|
8 |
of the license contained in the file LICENSE in this distribution.
|
|
|
9 |
|
|
|
10 |
For more information about licensing, please refer to
|
|
|
11 |
http://www.ghostscript.com/licensing/. For information on
|
|
|
12 |
commercial licensing, go to http://www.artifex.com/licensing/ or
|
|
|
13 |
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
|
|
|
14 |
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
/* $Id: gdevbmp.h,v 1.5 2002/06/16 07:25:26 lpd Exp $ */
|
|
|
18 |
/* .BMP file format definitions and utility interfaces */
|
|
|
19 |
|
|
|
20 |
#ifndef gdevbmp_INCLUDED
|
|
|
21 |
# define gdevbmp_INCLUDED
|
|
|
22 |
|
|
|
23 |
/* Define the default X and Y resolution. */
|
|
|
24 |
#define X_DPI 72
|
|
|
25 |
#define Y_DPI 72
|
|
|
26 |
|
|
|
27 |
/* Write the BMP file header. This procedure is used for all formats. */
|
|
|
28 |
int write_bmp_header(gx_device_printer *pdev, FILE *file);
|
|
|
29 |
|
|
|
30 |
/* Write a BMP header for separated CMYK output. */
|
|
|
31 |
int write_bmp_separated_header(gx_device_printer *pdev, FILE *file);
|
|
|
32 |
|
|
|
33 |
/* 24-bit color mappers */
|
|
|
34 |
dev_proc_map_rgb_color(bmp_map_16m_rgb_color);
|
|
|
35 |
dev_proc_map_color_rgb(bmp_map_16m_color_rgb);
|
|
|
36 |
|
|
|
37 |
#endif /* gdevbmp_INCLUDED */
|