From: Christophe CURIS <[email protected]>
---
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 f6e5b88..1b655ee 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 1c8b78b..949af1a 100644
--- a/wrlib/save.c
+++ b/wrlib/save.c
@@ -32,8 +32,8 @@
#include <time.h>
#include "wraster.h"
+#include "imgformat.h"
-extern Bool RSaveXPM(RImage * image, char *filename);
Bool RSaveImage(RImage * image, char *filename, char *format)
{
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].