0

I want to create a layer and at the same time put an image from html to it. So far I did something like this:

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

Could someone help me?

gerrit
  • 24,025
  • 17
  • 97
  • 170
goca987
  • 1
  • 1

0 Answers0