RAGE Photo Parser
c74b4a415f
- ragephoto_open: fix memory leak when instance can't be allocated - ragephoto_loadfile: fix file handle leak when data heap can't be allocated - ragephotodata_load: fix printf print types - RagePhoto.cpp: remove std namespace from C functions |
||
---|---|---|
.github/workflows | ||
cmake | ||
doc | ||
examples | ||
src | ||
tests | ||
.gitattributes | ||
CMakeLists.txt | ||
README.md |
libragephoto
Open Source RAGE Photo Parser for GTA V and RDR 2
- Read/Write RAGE Photos error free and correct
- Support for metadata stored in RAGE Photos
- Export RAGE Photos to jpeg with ragephoto-extract
- High Efficient and Simple C/C++ API
Build libragephoto
git clone https://github.com/Syping/libragephoto
cmake -B libragephoto-build libragephoto
cmake --build libragephoto-build
sudo cmake --install libragephoto-build
Optional CMake flags
-DCMAKE_CXX_STANDARD=17
-DRAGEPHOTO_BENCHMARK=ON
-DRAGEPHOTO_C_API=OFF
-DRAGEPHOTO_C_LIBRARY=ON
-DRAGEPHOTO_DOC=ON
-DRAGEPHOTO_EXAMPLE_GTKVIEWER=ON
-DRAGEPHOTO_EXAMPLE_QTVIEWER=ON
-DRAGEPHOTO_EXTRACT=OFF
-DRAGEPHOTO_STATIC=ON
RagePhoto API
RagePhoto C API
RagePhoto C++ API
libragephoto Documentation
Main Page
Build libragephoto
Using libragephoto
How to Use ragephoto-extract
ragephoto-extract PGTA5123456789 photo.jpg
ragephoto-extract PRDR3123456789 photo.jpg