- CMakeLists.txt: update version to 0.8.1 - doc: depend on CMake >= 3.16 - ragephoto-gtkviewer: depend on CMake >= 3.16 and ragephoto >= 0.8 - ragephoto-qtviewer: depend on CMake >= 3.16 and ragephoto >= 0.8 - src/dotnet: update version to 0.8.1 |
||
|---|---|---|
| .. | ||
| net47 | ||
| RagePhoto.Core.csproj | ||
| RagePhoto.Core.sln | ||
| RagePhoto.cs | ||
| RagePhotoException.cs | ||
| RagePhotoTypes.cs | ||
| README.md | ||
RagePhoto.Core
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
- Simple .NET API
- Based on libragephoto
How to Use RagePhoto.Core
using RagePhoto;
/* Get Image from Photo */
static Image GetImageFromPhoto(String inputFile) {
using Photo photo = new();
photo.LoadFile(inputFile);
using MemoryStream jpegStream = new(photo.Jpeg);
return Image.FromStream(jpegStream);
}