1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00
Files
wmaker/wrlib/NEWS
David Maciejak c8883fdbb0 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.
2023-03-02 10:23:47 +00:00

46 lines
1.3 KiB
Plaintext

** API and ABI modifications
----------------------------------------------------
Sat 25 Feb 2023
RSaveImage: Improved
Able to save image on disk as PNG or JPEG file
RSaveTitledImage: Added
Image title can be set on the image to be saved
----------------------------------------------------
Since wmaker 0.92.0
RLightImage: ADDED
----------------------------------------------------
Sat Apr 21 09:12:09 EEST 2001 -Dan
API change
----------
To allow a retain/release mechanism to be implemented for RImages, the
following new functions were introduced:
RImage* RRetainImage(RImage* image);
void RReleaseImage(RImage* image);
RDestroyImage() is now aliased to RReleaseImage(), but because it's no
longer compatible with the new semantics, it was only kept to allow a
smoother transition and the ability to run programs that were not updated
yet.
Do _NOT_ continue to use RDestroyImage(), because it will be removed in a
future version. You should start using RReleaseImage() in your code, and
also update all your existing programs to use RReleaseImage().
Also keep in mind that its name is also misleading: RDestroyImage() no
longer destroys images, unless they are not retained in some other place.
All existing code will continue to function with the new lib, even if not
recompiled, but you are encouraged to update your code to these changes