The R Project SVN R

Rev

Rev 59039 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
55659 ripley 1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
59039 ripley 3
 *  Copyright (C) 1997--2011  The R Core Team
55659 ripley 4
 *
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU General Public License as published by
7
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  (at your option) any later version.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, a copy is available at
68949 ripley 17
 *  https://www.R-project.org/Licenses/
55659 ripley 18
 */
19
 
20
extern int R_SaveAsPng(void  *d, int width, int height,
21
		       unsigned int (*gp)(void *, int, int),
22
		       int bgr, FILE *fp, unsigned int transparent, int res);
23
 
24
extern int R_SaveAsJpeg(void  *d, int width, int height,
25
			unsigned int (*gp)(void *, int, int),
26
			int bgr, int quality, FILE *outfile, int res);
27
 
28
extern int R_SaveAsTIFF(void  *d, int width, int height,
29
			unsigned int (*gp)(void *, int, int),
30
			int bgr, const char *outfile, int res,
31
			int compression);
32
 
33
extern int R_SaveAsBmp(void  *d, int width, int height,
34
		       unsigned int (*gp)(void *, int, int),
35
		       int bgr, FILE *fp, int res);