-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python photoshop #17
Comments
Hey, I had the same doubt writing a code to do so and I managed a way to do; Since Photoshop doesn't equally have a way to insert a image as "Smart Object", I had to use this snippet: def Apply(file): Since it uses javascript, make sure the file instance applied at the function follows this format: "path\to\item", ok? Hope it helps! |
I wan to replace an image in a specific layer. Is there a way i can do it ?! |
So far, either in Photoshop documentation have a specific method for replacing images in a layer, the best you can do is turn the layer in a Smart Object kind and use this code in javascript: function Replace(img) { Make sure the "img" is a string and in the same format used above; |
How can i create file Psd and insert in it a new image
The text was updated successfully, but these errors were encountered: