libragephoto/README.md

47 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2021-08-26 00:22:11 +02:00
## libragephoto
2021-09-03 15:21:02 +02:00
Open Source RAGE Photo Parser for GTA V and RDR 2
2021-08-26 00:22:11 +02:00
- 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
2021-08-26 00:22:11 +02:00
#### Build libragephoto
2021-08-26 00:22:11 +02:00
```bash
git clone https://github.com/Syping/libragephoto
cmake -B libragephoto-build libragephoto
cmake --build libragephoto-build
sudo cmake --install libragephoto-build
2021-08-26 00:22:11 +02:00
```
##### 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)
2021-08-26 00:22:11 +02:00
#### 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)
2021-08-26 00:22:11 +02:00
#### How to Use ragephoto-extract
```bash
ragephoto-extract PGTA5123456789 photo.jpg
ragephoto-extract PRDR3123456789 photo.jpg
2021-08-26 00:22:11 +02:00
```