Photoshop script how to add image to a layer
How can I grab an image by its location on my local machine and insert it into a layer with extendscript? var doc = app.documents.add(); var layer = doc.artLayers.add(); var img = new File('~/Desktop/tanks.png'); layer.image = img; //I want to…