【发布时间】:2021-03-26 09:52:51
【问题描述】:
我需要使用扩展脚本 (JavaScript) 在 Photoshop 的图层上显示一个简单的 html 元素。
请问有人知道怎么做吗?
这里是html元素:
<div class="number">1</div>
.number {
width: 50px;
height: 25px;
line-height: 25px;
text-align: center;
font-size: 13px;
background-color: yellow;
border-radius: 10px;
opacity: 0.5;
}
【问题讨论】:
-
您是否只想使用这些参数创建图像?
-
我想在给定位置的图层上显示此元素。我不能与它交互,它只是为了显示:) 我宁愿不必先在本地保存图像。
标签: javascript draw layer photoshop-script