RAGE Photo Parser
Go to file
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
.github/workflows windows.yml: add Windows MSVC cross compile 2021-12-04 08:37:58 +01:00
cmake libragephoto: 2022 update 2022-12-28 07:39:06 +01:00
doc CMake, Doc and README updates 2021-12-01 07:41:47 +01:00
examples libragephoto: add new ragephotodata functions and improvements 2023-02-23 09:17:53 +01:00
src libragephoto: add new ragephotodata functions and improvements 2023-02-23 09:17:53 +01:00
tests libragephoto: 2022 update 2022-12-28 07:39:06 +01:00
.gitattributes C API and .gitattributes improvements 2021-11-13 04:41:01 +01:00
CMakeLists.txt libragephoto: add new ragephotodata functions and improvements 2023-02-23 09:17:53 +01:00
README.md CMake, Doc and README updates 2021-12-01 07:41:47 +01:00

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

-DRAGEPHOTO_C_API=OFF
-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

How to Use ragephoto-extract

ragephoto-extract PGTA5123456789 photo.jpg
ragephoto-extract PRDR3123456789 photo.jpg