recipeRecipes
photoshop_recipe_prepare_for_web
Export a web-optimized version of the active document: duplicate, convert to sRGB, downscale longest edge, sharpen for screen, save to disk. The source PSD stays untouched. Use when: the user wants a shareable JPEG/PNG sized for the web from the current artwork. Do NOT use when: the user wants multiple platform-specific exports — use photoshop_recipe_export_social_variants. Do NOT call photoshop_save_document afterwards; this recipe already wrote the file. Returns: { ok, summary, output_paths, undo_history_states_consumed }. Preconditions: active document. Format is jpeg (default) or png. Side effects: writes one file to disk; the source document is unchanged.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| max_dimension_px | number | — | Longest-edge pixel cap (default 2048). Min 64, max 8192. |
| format | stringjpeg | png | — | Output format: jpeg (default) or png. |
| quality | number | — | JPEG quality on the Photoshop 1-12 scale. Default 9. Ignored for png. |
| path | string | — | Optional output path. Absolute paths used as-is. Relative paths resolve under ~/.photoshop-mcp/exports[/<chat-id>]. Omit to auto-generate. |
Official
- Prepare for websRGB, downscale, sharpen, optimized JPEG — in that order.
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe