2d2c165444a9cd6afe364f0dd6d197f0d7c13990
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, int rowstride);
19 int sp_png_write_rgba_striped(gchar const *filename, int width, int height,
20 int (* get_rows) (guchar const **rows, int row, int num_rows, void *data),
21 void *data);
23 #endif