mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2026-08-24 07:40:07 +02:00
RAGE Photo CLI based on libragephoto
csharp
export
gta-snapmatic
gta5
gtav
libragephoto
photo
photo-converter
photo-export
rdr-photo
rdr2
rdr2-photo
snapmatic
snapmatic-converter
snapmatic-export
- C# 84.5%
- NSIS 15.5%
| .github/workflows | ||
| .nsis | ||
| .gitattributes | ||
| .gitignore | ||
| Commands.cs | ||
| Commands.Win32.cs | ||
| Jpeg.cs | ||
| Json.cs | ||
| LICENSE.txt | ||
| Program.cs | ||
| ragephoto-cli.csproj | ||
| ragephoto-cli.sln | ||
| README.md | ||
ragephoto-cli
Open Source RAGE Photo CLI based on libragephoto
- Read/Write RAGE Photos with get/set commands
- Support for stdin/stdout in input/output and JPEG option
Build ragephoto-cli
git clone https://github.com/Syping/ragephoto-cli
dotnet publish -c Release ragephoto-cli
How to Use ragephoto-cli
# Exporting JPEG
ragephoto-cli get "$INPUT" --output "photo.jpg"
# Getting Format
ragephoto-cli get "$INPUT" format
# Getting JSON
ragephoto-cli get "$INPUT" json
# Getting Title
ragephoto-cli get "$INPUT" title
# Replacing Image
ragephoto-cli set "$INPUT" --image "photo.jpg"
# Replacing JSON
ragephoto-cli set "$INPUT" --json "$JSON"
# Replacing Title
ragephoto-cli set "$INPUT" --title "$TITLE"
# Updating JSON (Fixes some JSON errors)
ragephoto-cli set "$INPUT" --update-json