# Photoshop ExtendScript Dataset Generator This folder contains JSX scripts to generate systematic layer-effect ground-truth images in Adobe Photoshop. ## Files - `generate_inner_shadow_dataset.jsx` — Starter script for Inner Shadow. ## Usage 1. Open Adobe Photoshop. 2. Choose `File > Scripts > Browse...`. 3. Select `generate_inner_shadow_dataset.jsx`. 4. Choose an output folder when prompted. Photoshop will create a new document for each parameter combination, draw a filled black rectangle, apply the Inner Shadow effect, and export a transparent PNG. ## Current parameter grid (short version) | Parameter | Values | |---|---| | angle | 0, 90, 180, 270 | | distance | 5, 15, 30 | | size | 10, 30 | | choke | 0, 20 | | fx opacity | 75, 100 | | fx blend mode | Normal, Multiply | Total images: `4 × 3 × 2 × 2 × 2 × 2 = 192`. ## Notes - Blend mode keys use Photoshop's 4-character codes (`Nrml`, `Mltp`). - The output PNGs have transparent backgrounds, so MAE comparisons can ignore white reference pixels if needed. - Opacity is passed as 0-100 (e.g. 75 means 75%). - If a combination fails, the script alerts and continues with the next one. ## Next steps - Add layer blend mode, layer opacity, and fill opacity variations. - Extend to Drop Shadow, Outer Glow, Inner Glow, Stroke, Bevel & Emboss, Color Overlay.