Code

apply patch 1498946 by zbsz (fixes #1492545 "PNG resolution value export")
[inkscape.git] / src / helper / png-write.h
1 #ifndef __SP_PNG_WRITE_H__
2 #define __SP_PNG_WRITE_H__
4 /*
5  * PNG file format utilities
6  *
7  * Authors:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *
10  * Copyright (C) 1999-2002 Lauris Kaplinski
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
15 #include <glib/gtypes.h>
17 int sp_png_write_rgba(gchar const *filename, guchar const *px, int width, int height, double xdpi, double ydpi, int rowstride);
19 int sp_png_write_rgba_striped(gchar const *filename, int width, int height, double xdpi, double ydpi,
20                               int (* get_rows) (guchar const **rows, int row, int num_rows, void *data),
21                               void *data);
23 #endif