設計檔案正逐漸變成文字
Design files are becoming text
JSON 正在挑戰 Photoshop、InDesign 和 Illustrator 等軟件採用的封閉設計檔案格式,讓設計內容以純文字記錄每個元素的尺寸、文案、字體和位置。腳本可編輯 JSON,LLM 可生成 JSON,Git 可比較差異;渲染後則可輸出 PNG 或 PDF。文章亦指出,文字適配、字體和印刷是投入生產時的難點。
Marketing design at scale has a new face – JSON.
Photoshop, InDesign and Illustrator were built long before LLMs existed. Their formats were designed for a single app to open them, so design work sits in blackbox files (.psd, .ai, etc.) that other software can't read.
JSON is now challenging that.
A design saved as JSON is plain text: the size, copy, font and position of every element. A script can edit it, an LLM can write it, Git can diff it, and a render step turns it into a PNG or PDF.
The full article shows a .psd and a JSON file side by side, with interactive animations of dragging an element, filling a template from a product feed, and text that stops fitting when the copy changes language. It also covers where this breaks in production: text fit, fonts, print.
來源:DEV Community · dev.to