https://github.com/syping/libragephoto
RAGE Photo Parser C/C++ Library
https://github.com/syping/libragephoto
cpp cxx export gta-snapmatic gta5 gtav libragephoto photo photo-converter photo-export rdr-photo rdr2 rdr2-photo snapmatic snapmatic-converter snapmatic-export
Last synced: about 2 months ago
JSON representation
RAGE Photo Parser C/C++ Library
- Host: GitHub
- URL: https://github.com/syping/libragephoto
- Owner: Syping
- Created: 2021-08-24T22:37:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-11-30T07:18:33.000Z (5 months ago)
- Last Synced: 2025-12-02T12:09:33.640Z (5 months ago)
- Topics: cpp, cxx, export, gta-snapmatic, gta5, gtav, libragephoto, photo, photo-converter, photo-export, rdr-photo, rdr2, rdr2-photo, snapmatic, snapmatic-converter, snapmatic-export
- Language: C++
- Homepage:
- Size: 290 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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
```bash
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_CXX_STANDARD=17`
`-DRAGEPHOTO_BENCHMARK=ON`
`-DRAGEPHOTO_C_API=OFF`
`-DRAGEPHOTO_C_LIBRARY=ON`
`-DRAGEPHOTO_DEBUG=ON`
`-DRAGEPHOTO_DOC=ON`
`-DRAGEPHOTO_EXAMPLE_GTKVIEWER=ON`
`-DRAGEPHOTO_EXAMPLE_QTVIEWER=ON`
`-DRAGEPHOTO_EXTRACT=OFF`
`-DRAGEPHOTO_STATIC=ON`
#### RagePhoto API
[RagePhoto C API](https://libragephoto.syping.de/doc/structRagePhotoInstance.html)
[RagePhoto C++ API](https://libragephoto.syping.de/doc/classragephoto_1_1photo.html)
#### libragephoto Documentation
[Main Page](https://libragephoto.syping.de/doc/)
[Build libragephoto](https://libragephoto.syping.de/doc/Build.html)
[Using libragephoto](https://libragephoto.syping.de/doc/Usage.html)
#### How to Use ragephoto-extract
```bash
ragephoto-extract PGTA5123456789 photo.jpg
ragephoto-extract PRDR3123456789 photo.jpg
```