ragephoto-cli/README.md
2025-10-27 21:22:10 +01:00

37 lines
749 B
Markdown

## 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
```sh
git clone https://github.com/Syping/ragephoto-cli
dotnet publish -c Release ragephoto-cli
```
#### How to Use ragephoto-cli
```sh
# 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 JPEG
ragephoto-cli set "$INPUT" --jpeg "photo.jpg"
# Patching Signature
ragephoto-cli set "$INPUT" --update-sign
# Updating Title
ragephoto-cli set "$INPUT" --title "New Photo Title"
```