- CMakeLists.txt: update version to 0.8.2 - RagePhoto.cpp: fix memory issue on Windows convertPath function for C+ +11 support - RagePhoto.cs: code style changes for Boolean - RagePhoto.h: update copyright header - RagePhoto.hpp: update copyright header - RagePhotoLibrary.h: update copyright header - src/dotnet: add package tags and update version to 0.8.2 |
||
|---|---|---|
| .. | ||
| 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);
}