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:
David Maciejak authored and Carlos R. Mafra committed 2026-01-17 22:03:09 +00:00
1 parent 72942267aa
commit 7cfdf6bd68
8 files changed
+263 -39

No files matched your search

+2
View File
@@ -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
/*