Skip to content
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

Trying to create new psd from scratch #29

Open
dhaneshwarsingh opened this issue May 26, 2020 · 1 comment
Open

Trying to create new psd from scratch #29

dhaneshwarsingh opened this issue May 26, 2020 · 1 comment

Comments

@dhaneshwarsingh
Copy link

  • psdwriter version:
  • Python version: 3.7.6
  • Operating System: Mac

Description

I was trying to figure out how to create a new PSD from scratch with the dimensions and stuff I want but I am still unable to find out documentation for that. can you give me some idea where to start That would be very helpful!

@mruijzendaal
Copy link

The documentation is indeed absent for most of the code. What I ended up doing is making a template psd file (in my case of two white layers, one of which has a mask), reading that using psd: pytoshop.PsdFile = pytoshop.read(fd). I then modified the properties (layer sizes and contents) to my needs, and saved this psd file afterwards.

Not the prettiest by far, but this was the only workaround I could find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants