1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Moved the function to Save image also into the internal header

This commit is contained in:
Christophe CURIS
2013-05-01 20:26:30 +02:00
committed by Carlos R. Mafra
parent 883cda48e3
commit 268ead4eca
2 changed files with 6 additions and 1 deletions

View File

@@ -66,5 +66,10 @@ RImage *RLoadJPEG(RContext *context, char *file);
RImage *RLoadGIF(char *file, int index); RImage *RLoadGIF(char *file, int index);
#endif #endif
/*
* Function for Saving in a specific format
*/
Bool RSaveXPM(RImage * image, char *filename);
#endif #endif

View File

@@ -32,8 +32,8 @@
#include <time.h> #include <time.h>
#include "wraster.h" #include "wraster.h"
#include "imgformat.h"
extern Bool RSaveXPM(RImage * image, char *filename);
Bool RSaveImage(RImage * image, char *filename, char *format) Bool RSaveImage(RImage * image, char *filename, char *format)
{ {