From 268ead4eca7174ea81c183d0f463ac892893234d Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Wed, 1 May 2013 20:26:30 +0200 Subject: [PATCH] Moved the function to Save image also into the internal header --- wrlib/imgformat.h | 5 +++++ wrlib/save.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wrlib/imgformat.h b/wrlib/imgformat.h index f6e5b883..1b655eea 100644 --- a/wrlib/imgformat.h +++ b/wrlib/imgformat.h @@ -66,5 +66,10 @@ RImage *RLoadJPEG(RContext *context, char *file); RImage *RLoadGIF(char *file, int index); #endif +/* + * Function for Saving in a specific format + */ +Bool RSaveXPM(RImage * image, char *filename); + #endif diff --git a/wrlib/save.c b/wrlib/save.c index 1c8b78be..949af1ae 100644 --- a/wrlib/save.c +++ b/wrlib/save.c @@ -32,8 +32,8 @@ #include #include "wraster.h" +#include "imgformat.h" -extern Bool RSaveXPM(RImage * image, char *filename); Bool RSaveImage(RImage * image, char *filename, char *format) {