RAGE Photo CLI based on libragephoto
Find a file
2025-10-24 03:34:11 +02:00
.gitattributes Add .gitattributes, .gitignore, and LICENSE.txt. 2025-10-23 18:16:29 +02:00
.gitignore Add .gitattributes, .gitignore, and LICENSE.txt. 2025-10-23 18:16:29 +02:00
LICENSE.txt Add .gitattributes, .gitignore, and LICENSE.txt. 2025-10-23 18:16:29 +02:00
Program.cs update spelling of string 2025-10-24 03:34:05 +02:00
RagePhotoCli.csproj Add project files. 2025-10-23 18:16:31 +02:00
RagePhotoCli.sln Add project files. 2025-10-23 18:16:31 +02:00
README.md update README.md 2025-10-24 03:34:11 +02:00

ragephoto-cli

Open Source RAGE Photo CLI based on libragephoto

  • Read/Write RAGE Photos with get/set commands
  • Support for stdin/stdout in JPEG option and output

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 PGTA5123456789 --output photo.jpg

# Getting Format
ragephoto-cli get PGTA5123456789 format

# Getting JSON
ragephoto-cli get PGTA5123456789 json

# Getting Title
ragephoto-cli get PGTA5123456789 title

# Replacing JPEG (Patching Signature is required after)
ragephoto-cli set PGTA5123456789 --jpeg photo.jpg
ragephoto-cli set PGTA5123456789 --json "$(ragephoto-cli get PGTA5123456789 json \
    | jq -c ".sign = $(ragephoto-cli get PGTA5123456789 sign)")"

# Updating Title
ragephoto-cli set PGTA5123456789 --title "New Photo Title"