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

NameTypeRequiredDescription
max_dimension_pxnumberLongest-edge pixel cap (default 2048). Min 64, max 8192.
formatstringjpeg | pngOutput format: jpeg (default) or png.
qualitynumberJPEG quality on the Photoshop 1-12 scale. Default 9. Ignored for png.
pathstringOptional output path. Absolute paths used as-is. Relative paths resolve under ~/.photoshop-mcp/exports[/<chat-id>]. Omit to auto-generate.

Official

Community recipes

Nothing here yet. Be the first to share one.

Share a recipe