WRaster: add functions to save image on disk
commitc8883fdbb0ac99d04bc1ffe48efe2ad3a5faaa5c
authorDavid Maciejak <david.maciejak@gmail.com>
Wed, 1 Mar 2023 12:36:09 +0000 (1 20:36 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 2 Mar 2023 10:23:47 +0000 (2 10:23 +0000)
treeabae6be066c2134e8f005cb0cc3a7afecf5cf854
parent3cc5808dcdce010dac6ec67fc18f745fb8891d5c
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.
configure.ac
wrlib/ChangeLog
wrlib/Makefile.am
wrlib/NEWS
wrlib/imgformat.h
wrlib/save.c
wrlib/save_jpeg.c [new file with mode: 0644]
wrlib/save_png.c [new file with mode: 0644]
wrlib/save_xpm.c
wrlib/wraster.h.in