Commit graph

19 commits

Author SHA1 Message Date
Syping
d75eba2a46 libragephoto: add new ragephotodata functions and improvements
RagePhoto: changed photo(), photoData(), photoSize() and setPhoto() to
jpeg(), jpegData(), jpegSize() and setJpeg()
RagePhoto: setData() now takes takeCopy instead of takeOwnership
RagePhoto: changed static member argument order for easier coding
RagePhotoA: changed photo(), photoData(), photoSize() and setPhoto() to
jpeg(), jpegData(), jpegSize() and setJpeg()
RagePhotoA: setData() now takes takeCopy instead of takeOwnership
RagePhotoA: changed static member argument order for easier coding
RagePhotoA: add new C API functions
RagePhotoC: add ragephotodata_save() and ragephotodata_savef()
RagePhoto-Extract: update for API changes, stop assuming RDR 2 when GTA
V format not found
ragephoto-gtkviewer: update for API changes
ragephoto-qtviewer: update for API changes
2023-02-23 09:17:53 +01:00
Syping
e08b45d980 low level improvements and data type changes
- RagePhoto: removed setFormatLoadFunction (will be replaced with a
better solution later)
- RagePhoto: code updates for the RagePhotoData changes
- RagePhotoA: have now RagePhoto enum's available
- RagePhotoData: changed description, json, header and title types to
char*
- RagePhotoData: removed photoLoaded in favour of nullptr check
- examples: prepared for the API update
2023-01-07 20:43:11 +01:00
Syping
95943203e0 libragephoto: 2022 update 2022-12-28 07:39:06 +01:00
Syping
7326cc26c7 unicode.cmake improvements, RagePhoto API changes
RagePhoto: remove class from Error enum
RagePhotoA: error() uint32_t -> uint8_t
RagePhoto-Extract: remove Error:: from Error enums
ragephoto-gtkviewer: RagePhoto::Error -> uint8_t, remove Error:: from
Error enum
ragephoto-qtviewer: RagePhoto::Error -> uint8_t, remove Error:: from
Error enum
2021-12-02 05:55:50 +01:00
Syping
57f37bf88a CMake: Fix incorrect number of arguments at INSTALL_RPATH 2021-11-12 22:21:38 +01:00
Syping
bb53b342b7 CMake updates, Win32 resources and .gitattributes added
CMake: Improve RPATH handling for both TARGET and non-TARGET builds
CMake: Updating configure_file's to handle ragephoto_ instead of PROJECT_
variables
Win32 resources: Add basic library description with CMake's configure_file
2021-11-12 06:55:37 +01:00
Syping
05890541dc add Win32 API Unicode converter, other small changes
Qt Example: add file.close() (consistency between GTK example)
RagePhoto: saveFile() checks for good(), more data() -> c_str()
2021-11-06 20:17:28 +01:00
Syping
67ed433f6b C/C++ API improvements, CMake include dir change
C API: add format functions
C++ API: add ABI stable wrapper RagePhotoA based on C API
2021-11-04 13:21:18 +01:00
Syping
7bc3cabc89 improve examples 2021-10-30 15:31:29 +02:00
Syping
1d48cd0fbd efficiency improvements and CMake WIN32 flags 2021-10-24 05:03:14 +02:00
Syping
0f94a9920c improve examples 2021-10-14 07:09:58 +02:00
Syping
3c59996591 use C++ stream classes 2021-09-17 08:17:25 +02:00
Syping
9af28f0aa6 CMake improvements, photoFormat improvement 2021-09-04 17:13:03 +02:00
Syping
8c860855ae RagePhoto improvements, GTK example fix 2021-08-29 02:35:25 +02:00
Syping
61a9770951 improve examples 2021-08-27 23:17:57 +02:00
Syping
dd47087afd add pkgconfig, improve Qt example 2021-08-27 21:48:33 +02:00
Syping
33c3dcb512 add Qt example, GTK example fixes, README update 2021-08-27 20:07:14 +02:00
Syping
350916588f CMake: install ragephoto-gtkviewer in bin folder 2021-08-27 05:41:12 +02:00
Syping
e1bdccfb0d memory fixes, GTK example added 2021-08-27 05:33:20 +02:00