mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-19 17:23:33 +01:00
WRaster: add function to save image in memory
This patch adds the RSaveRawImage() function to the WRaster lib to be able to save image structure in memory. The WRaster lib version is bumped.
This commit is contained in:
committed by
Carlos R. Mafra
parent
72942267aa
commit
7cfdf6bd68
@@ -90,10 +90,12 @@ Bool RSaveXPM(RImage *image, const char *filename);
|
||||
|
||||
#ifdef USE_PNG
|
||||
Bool RSavePNG(RImage *image, const char *filename, char *title);
|
||||
Bool RSaveRawPNG(RImage *image, char *title, unsigned char **out_buf, size_t *out_size);
|
||||
#endif
|
||||
|
||||
#ifdef USE_JPEG
|
||||
Bool RSaveJPEG(RImage *image, const char *filename, char *title);
|
||||
Bool RSaveRawJPEG(RImage *image, char *title, unsigned char **out_buf, size_t *out_size);
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user