mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 03:02:30 +02:00
WRaster: add functions to save image on disk
This patch adds the RSaveTitledImage() function to the WRaster lib to be able to save file on disk either as a PNG or a JPEG file. Those two formats depends on optional external libs. The function can take an optional title/comment which will be save inside the file. The WRaster lib and header versions are bumped.
This commit is contained in:
1 parent
3cc5808dcd
commit
c8883fdbb0
10 files changed
+286
-16
No files matched your search
@@ -55,10 +55,12 @@ endif
|
||||
|
||||
if USE_JPEG
|
||||
libwraster_la_SOURCES += load_jpeg.c
|
||||
libwraster_la_SOURCES += save_jpeg.c
|
||||
endif
|
||||
|
||||
if USE_PNG
|
||||
libwraster_la_SOURCES += load_png.c
|
||||
libwraster_la_SOURCES += save_png.c
|
||||
endif
|
||||
|
||||
if USE_TIFF
|
||||
|
||||
Reference in new issue
Block a user