@imagerry/cli 0.1.8-beta → 0.1.9-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -8
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -84,25 +84,27 @@ imagerry -i input.png -o output.png
|
|
|
84
84
|
|
|
85
85
|
## Built-in Presets
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
Imagerry comes with built-in styling presets (such as `mesh`, `gradient`, `cyberpunk`, `aurora`, `sunset`, `studio`, and `default`).
|
|
88
|
+
|
|
89
|
+
To view the full list of available presets and their descriptions, run:
|
|
88
90
|
|
|
89
91
|
```bash
|
|
90
92
|
imagerry --list-presets
|
|
91
93
|
```
|
|
92
94
|
|
|
93
|
-
Once you've found a style you like,
|
|
95
|
+
Once you've found a style you like, apply it using the `--preset` flag:
|
|
94
96
|
|
|
95
97
|
```bash
|
|
96
|
-
imagerry
|
|
98
|
+
imagerry -i input.png -o output.png --preset=mesh
|
|
97
99
|
```
|
|
98
100
|
|
|
99
101
|
## Custom JSON Presets
|
|
100
102
|
|
|
101
|
-
For
|
|
103
|
+
For complete control over every visual attribute, Imagerry supports custom JSON presets matching the full capabilities of the image customizer engine.
|
|
102
104
|
|
|
103
105
|
### 1. Export a preset template
|
|
104
106
|
|
|
105
|
-
Generate a starting configuration:
|
|
107
|
+
Generate a starting configuration with all supported settings:
|
|
106
108
|
|
|
107
109
|
```bash
|
|
108
110
|
imagerry --export-preset-template=my-style.json
|
|
@@ -167,11 +169,11 @@ curl -f -X POST http://localhost:5273/api/v1/process \
|
|
|
167
169
|
> [!WARNING]
|
|
168
170
|
> We strongly recommend including the `-f` (or `--fail-with-body`) flag when using `curl` with `--output`. If the API returns an error, this flag prevents `curl` from saving the JSON error response directly into your output image file, which would result in a corrupted image.
|
|
169
171
|
|
|
170
|
-
###
|
|
172
|
+
### API Documentation
|
|
171
173
|
|
|
172
|
-
|
|
174
|
+
Explore the full API documentation, parameter specifications, and integration guides at **[imagerry.com/cli/docs/serve-api](https://imagerry.com/cli/docs)**.
|
|
173
175
|
|
|
174
|
-
The server also exposes
|
|
176
|
+
The server also exposes helpful informational routes:
|
|
175
177
|
|
|
176
178
|
- `GET /presets` — Returns a JSON array of all built-in named presets.
|
|
177
179
|
- `GET /template` — Returns a JSON object of all available settings keys and their defaults.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imagerry/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9-beta",
|
|
4
4
|
"description": "Command-line interface for the Imagerry engine",
|
|
5
5
|
"homepage": "https://cli.imagerry.com",
|
|
6
6
|
"repository": {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"imagerry": "bin/imagerry.js"
|
|
24
24
|
},
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@imagerry/cli-android-arm64": "0.1.
|
|
27
|
-
"@imagerry/cli-darwin-arm64": "0.1.
|
|
28
|
-
"@imagerry/cli-darwin-x64": "0.1.
|
|
29
|
-
"@imagerry/cli-linux-arm64": "0.1.
|
|
30
|
-
"@imagerry/cli-linux-x64": "0.1.
|
|
31
|
-
"@imagerry/cli-win32-arm64": "0.1.
|
|
32
|
-
"@imagerry/cli-win32-x64": "0.1.
|
|
26
|
+
"@imagerry/cli-android-arm64": "0.1.9-beta",
|
|
27
|
+
"@imagerry/cli-darwin-arm64": "0.1.9-beta",
|
|
28
|
+
"@imagerry/cli-darwin-x64": "0.1.9-beta",
|
|
29
|
+
"@imagerry/cli-linux-arm64": "0.1.9-beta",
|
|
30
|
+
"@imagerry/cli-linux-x64": "0.1.9-beta",
|
|
31
|
+
"@imagerry/cli-win32-arm64": "0.1.9-beta",
|
|
32
|
+
"@imagerry/cli-win32-x64": "0.1.9-beta"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"image",
|