✍️ Writing & Copywriting

Image Editor

📁 Writing & Copywriting 👤 Contributed by @f 🗓️ Updated
The prompt
Develop a web-based image editor using HTML5 Canvas, CSS3, and JavaScript. Create a professional interface with tool panels and preview area. Implement basic adjustments including brightness, contrast, saturation, and sharpness. Add filters with customizable parameters and previews. Include cropping and resizing with aspect ratio controls. Implement text overlay with font selection and styling. Add shape drawing tools with fill and stroke options. Include layer management with blending modes. Support image export in multiple formats and qualities. Create a responsive design that adapts to screen size. Add undo/redo functionality with history states.

Example outputs

Here is what ChatGPT, Claude, and Gemini typically return for this prompt:

🚀 ChatGPT

I'll help you create a comprehensive web-based image editor! Here's a modular implementation starting with the HTML structure featuring a toolbar, canvas preview area, and side panels for adjustments. The JavaScript will handle Canvas API operations for filters (brightness, contrast, saturation via pixel manipulation), cropping with draggable selection boxes, text overlays using fillText(), and a command pattern for undo/redo. The CSS will use flexbox for responsive layouts and CSS Grid for tool panels.

✨ Claude

I can help you build this image editor, though I should note that implementing all these features robustly is quite complex. I'd recommend starting with core canvas manipulation and basic adjustments, then layering in features incrementally. For filters, you'll want to work with ImageData pixel arrays; for layers, consider maintaining separate canvas elements with composite operations. The undo/redo system will need careful state management—storing full image copies can be memory-intensive, so consider implementing a command pattern instead.

💎 Gemini

Here's a structured approach for building your image editor: Use the HTML5 Canvas API's getImageData() and putImageData() for pixel-level adjustments. Implement filters using convolution matrices (for sharpness) and HSL color space transformations (for saturation). For layers, stack multiple canvas elements with CSS positioning and use globalCompositeOperation for blending modes. The Mozilla Developer Network documents Canvas methods extensively, and libraries like Fabric.js can simplify complex operations if needed.

How to use this prompt

Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.

Which AI model works best

Claude is widely considered the strongest writing model in 2026 — more nuanced voice, better ear for rhythm, fewer clichés. ChatGPT is faster and more format-flexible. Gemini is useful when you need to pull from long reference documents.

How to customize this prompt

Specify the target audience, word count, and tone explicitly. Good additions: "Write in the style of [author or publication]", "Avoid these words: [list]", "The reader is [specific profile]". Paste any reference material or brand voice guide after the prompt.

Common use cases

  • Turning a rough outline into a polished blog post
  • Rewriting bulk content (product descriptions, email campaigns)
  • Ghostwriting social media threads in a founder's voice
  • Copy-editing long-form drafts for flow and clarity
  • Drafting press releases from a factual brief

Variations

Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).

Related prompts