mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-12-04 08:41:48 +01:00
RAGE Photo CLI based on libragephoto
csharpexportgta-snapmaticgta5gtavlibragephotophotophoto-converterphoto-exportrdr-photordr2rdr2-photosnapmaticsnapmatic-convertersnapmatic-export
| .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