5
* GL2PNG, an OpenGL to PNG Printing Library
6
* Copyright (C) 1999-2003 Christophe Geuzaine <geuz@geuz.org>
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of either:
11
* a) the GNU Library General Public License as published by the Free
12
* Software Foundation, either version 2 of the License, or (at your
13
* option) any later version; or
15
* b) the GL2PS License as published by Christophe Geuzaine, either
16
* version 2 of the License, or (at your option) any later version.
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
21
* the GNU Library General Public License or the GL2PS License for
24
* You should have received a copy of the GNU Library General Public
25
* License along with this library in the file named "COPYING.LGPL";
26
* if not, write to the Free Software Foundation, Inc., 675 Mass Ave,
27
* Cambridge, MA 02139, USA.
29
* You should have received a copy of the GL2PS License with this
30
* library in the file named "COPYING.GL2PS"; if not, I will be glad
4
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
6
// This program is free software; you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation; either version 2 of the License, or
9
// (at your option) any later version.
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21
// Please report all bugs and problems to <gmsh@geuz.org>.
24
#include "PixelBuffer.h"
36
void create_png(FILE *outfile, int width, int height, int quality);
26
void create_png(FILE *outfile, PixelBuffer *buffer, int quality);