How I Built a Font-Preserving Image Text Editor with Browser OCR & Live Canvas Preview
Editing a single typo or price on a finished poster, café menu, or AI-generated image is surprisingly annoying: opening Photoshop just to change two words takes forever, while naive AI inpainting often breaks the origina
Editing a single typo or price on a finished poster, café menu, or AI-generated image is surprisingly annoying: opening Photoshop just to change two words takes forever, while naive AI inpainting often breaks the original font, lighting, or layout.
To solve this, I built FixImageText — a browser-based image text editor focused on keeping the exact original font, color, perspective, and background texture.
Key UX & Technical Decisions
In-Browser Text Box Detection (with Manual Fallback)
Instead of forcing users to write long prompts describing where a word sits, text regions are detected directly in the browser so you can click a box and type the replacement text—or drag a custom box when stylized typography confuses OCR.Real-Time Canvas Layout Preview Before Generation
One common failure mode in image text editing is text overflow when the new string is much longer than the original. Rendering a live Canvas preview with length-difference warnings lets users catch layout issues before running AI generation.Batch Multiple Edits in One Pass
Updating a menu or event poster usually means changing a date, venue, and price all at once. Queuing multiple text replacements into a single pass keeps typography consistent across the whole image.Free Watermarked Previews First
Users can test font matching and background blending with a free watermarked preview before deciding whether to export a clean 2K HD PNG.
Common Use Cases
- Updating dates, prices, and promos on posters and restaurant menus
- Fixing garbled spelling in AI-generated images
- Translating product banners while keeping brand typography intact
Try it here: https://fiximagetext.com/
Would love any feedback on the Canvas preview UX or edge cases with tricky fonts!
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.