RAGE Photo Parser
Go to file
Syping 350916588f CMake: install ragephoto-gtkviewer in bin folder 2021-08-27 05:41:12 +02:00
.ci add error function, README and CI 2021-08-26 00:22:11 +02:00
.github/workflows add error function, README and CI 2021-08-26 00:22:11 +02:00
examples/ragephoto-gtkviewer CMake: install ragephoto-gtkviewer in bin folder 2021-08-27 05:41:12 +02:00
src memory fixes, GTK example added 2021-08-27 05:33:20 +02:00
tests memory fixes, GTK example added 2021-08-27 05:33:20 +02:00
CMakeLists.txt memory fixes, GTK example added 2021-08-27 05:33:20 +02:00
README.md add error function, README and CI 2021-08-26 00:22:11 +02:00

README.md

libragephoto

Open Source RAGE Photo Parser for GTA V

  • Read 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++ API

Build libragephoto & ragephoto-extract

git clone https://gitlab.com/Syping/libragephoto && cd libragephoto
mkdir -p build && cd build
cmake ../
make -j $(nproc --all)
sudo make install

How to Use libragephoto

RagePhoto ragePhoto;
bool loaded = ragePhoto.load(data, size);
const char* photoData = ragePhoto.photoData();
uint32_t photoSize = ragePhoto.photoSize();
std::string json = ragePhoto.json();
std::string title = ragePhoto.title();
RagePhoto::Error error = ragePhoto.error();

How to Use ragephoto-extract

ragephoto-extract PGTA5123456789 photo.jpg