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