diff options
Diffstat (limited to 'src/helper/png-write.h')
| -rw-r--r-- | src/helper/png-write.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/helper/png-write.h b/src/helper/png-write.h new file mode 100644 index 000000000..2d2c16544 --- /dev/null +++ b/src/helper/png-write.h @@ -0,0 +1,23 @@ +#ifndef __SP_PNG_WRITE_H__ +#define __SP_PNG_WRITE_H__ + +/* + * PNG file format utilities + * + * Authors: + * Lauris Kaplinski <lauris@kaplinski.com> + * + * Copyright (C) 1999-2002 Lauris Kaplinski + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include <glib/gtypes.h> + +int sp_png_write_rgba(gchar const *filename, guchar const *px, int width, int height, int rowstride); + +int sp_png_write_rgba_striped(gchar const *filename, int width, int height, + int (* get_rows) (guchar const **rows, int row, int num_rows, void *data), + void *data); + +#endif |
