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
|
|
|
|
2021-10-28 03:28:36 +02:00
|
|
|
- Read/Write RAGE Photos error free and correct
|
2021-08-26 00:22:11 +02:00
|
|
|
- Support for metadata stored in RAGE Photos
|
|
|
|
- Export RAGE Photos to jpeg with ragephoto-extract
|
2021-11-13 04:53:06 +01:00
|
|
|
- High Efficient and Simple C/C++ API
|
2021-08-26 00:22:11 +02:00
|
|
|
|
2021-08-27 20:07:14 +02:00
|
|
|
#### Build libragephoto
|
2021-08-26 00:22:11 +02:00
|
|
|
|
|
|
|
```bash
|
2021-12-01 07:41:47 +01:00
|
|
|
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
|
|
|
```
|
|
|
|
|
2021-08-27 20:07:14 +02:00
|
|
|
##### Optional CMake flags
|
2023-04-02 21:33:48 +02:00
|
|
|
`-DCMAKE_CXX_STANDARD=17`
|
|
|
|
`-DRAGEPHOTO_BENCHMARK=ON`
|
2021-12-01 07:41:47 +01:00
|
|
|
`-DRAGEPHOTO_C_API=OFF`
|
2023-06-11 05:41:32 +02:00
|
|
|
`-DRAGEPHOTO_C_LIBRARY=ON`
|
2021-12-01 07:41:47 +01:00
|
|
|
`-DRAGEPHOTO_DOC=ON`
|
|
|
|
`-DRAGEPHOTO_EXAMPLE_GTKVIEWER=ON`
|
|
|
|
`-DRAGEPHOTO_EXAMPLE_QTVIEWER=ON`
|
|
|
|
`-DRAGEPHOTO_EXTRACT=OFF`
|
|
|
|
`-DRAGEPHOTO_STATIC=ON`
|
|
|
|
|
|
|
|
#### RagePhoto API
|
2021-11-13 04:53:06 +01:00
|
|
|
|
2023-06-11 22:41:55 +02:00
|
|
|
[RagePhoto C API](https://libragephoto.syping.de/doc/RagePhoto_8h.html)
|
2021-11-16 06:25:04 +01:00
|
|
|
[RagePhoto C++ API](https://libragephoto.syping.de/doc/classRagePhoto.html)
|
2021-08-26 00:22:11 +02:00
|
|
|
|
2023-04-02 21:33:48 +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
|
2021-09-03 17:59:54 +02:00
|
|
|
ragephoto-extract PRDR3123456789 photo.jpg
|
2021-08-26 00:22:11 +02:00
|
|
|
```
|