Configuration/Presets & JSON Templates
Docs/Configuration/Presets & JSON Templates

Presets & JSON Templates

Use built-in presets or define custom design templates via JSON configuration.

Imagerry provides built-in visual presets and custom JSON configuration for granular styling control.

Popular Presets

PresetDescription
meshMulti-color mesh gradient (indigo / cyan / emerald / violet)
gradientSmooth linear color flow (rose → violet → blue)
cyberpunkFuturistic dark neon mesh with subtle grid texture
defaultMinimalist dark layout with refined drop shadow

Run imagerry --list-presets in your terminal to inspect all available built-in styles.

Project Configuration & Schema

Standardize styling across your team or repository using an imagerry.config.json file.

Scaffold a starter configuration linked to the official schema:

|bash
imagerry init --preset mesh

All supported options, default values, and validation rules are defined in the official JSON Schema:

👉
|json
{
  "$schema": "https://imagerry.com/schema/config.json",
  "preset": "mesh",
  "format": "webp",
  "quality": 90,
  "padding": 40,
  "borderRadius": 18,
  "shadowSize": 50,
  "canvasRatio": "16:9"
}

Direct CLI Flag Overrides

Instead of writing JSON strings for quick adjustments, you can override properties directly from the terminal:

|bash
imagerry -i input.png -o output.webp --preset mesh --padding 48 --radius 24 --shadow 60
Found an issue or typo? Report on GitHub
Imagerry CLI Docs • v0.2.1-beta