1 /* Copyright (C) 2001-2012 Artifex Software, Inc.
2    All Rights Reserved.
3 
4    This software is provided AS-IS with no warranty, either express or
5    implied.
6 
7    This software is distributed under license and may not be copied,
8    modified or distributed except as expressly authorized under the terms
9    of the license contained in the file LICENSE in this distribution.
10 
11    Refer to licensing information at http://www.artifex.com or contact
12    Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134, San Rafael,
13    CA  94903, U.S.A., +1(415)492-9861, for further information.
14 */
15 
16 /* .BMP file format definitions and utility interfaces */
17 
18 #ifndef gdevbmp_INCLUDED
19 #  define gdevbmp_INCLUDED
20 
21 /* Define the default X and Y resolution. */
22 #define X_DPI 72
23 #define Y_DPI 72
24 
25 /* Write the BMP file header.  This procedure is used for all formats. */
26 int write_bmp_header(gx_device_printer *pdev, FILE *file);
27 
28 /* Write a BMP header for separated CMYK output. */
29 int write_bmp_separated_header(gx_device_printer *pdev, FILE *file);
30 
31 /* 24-bit color mappers */
32 dev_proc_map_rgb_color(bmp_map_16m_rgb_color);
33 dev_proc_map_color_rgb(bmp_map_16m_color_rgb);
34 
35 #endif				/* gdevbmp_INCLUDED */
36