Photoshop图像从html到图层(Photoshop扩展)

时间:2016-03-16 11:50:41

标签: photoshop photoshop-script adobe-extension

我想创建一个图层,同时将图像从html放到它上面。 到目前为止,我做了类似的事情:

var doc=document.getElementByID("img1");  //img1 is from html,it is an img tag
var newLayerRef = app.activeDocument.artLayers.add(doc);

有人可以帮助我吗?

0 个答案:

没有答案