-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can I programatically add image to the layer? #82
Comments
were you able to do it then? because currently I am looking for the same thing and webtoon documentation does not provide anything about modifying the layer image. |
me too |
Hi, sorry about the late reply @karolis-stulgys-allhuman @jatinshrma @winderzhang Unfortunately, modifying the contents of the PSD (e.g. adding or removing layers) is currently out of the scope of this library. Implementing such a feature would certainly benefit us and others, but updating the structure of a PSD file is an entirely different matter from parsing one. (For that matter, I believe PSD.js does not provide such capabilities, either.) I suggest two options:
|
Hi, @pastelmind |
So instead of me going to photopea, uploading psd file, selecting layer, adding an image, resizing to fit the layer, exporting to png...
I would like to do this programatically in javascript (server side or client side). I want to write a function that accepts psd file, image file and options. It should output a .png file. Am I in the right place? Can I do this with "webtoon"? I've found libraries like "psd.js" but still not sure how can I achieve that. Can anyone give me an example? Your help is very much appreciated!
The text was updated successfully, but these errors were encountered: