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

Empty pixelData on some image layers #294

Open
davidprifti opened this issue Feb 10, 2024 · 0 comments
Open

Empty pixelData on some image layers #294

davidprifti opened this issue Feb 10, 2024 · 0 comments

Comments

@davidprifti
Copy link

davidprifti commented Feb 10, 2024

I have the following PSD file: https://file.io/vcH8Swxk5ffX. Some of the images get exported correctly but there are some images that fail. For example the "Rounded Rectangle" layer fails with the following error when trying to export it with saveAsPng method:

Error: Unhandled error. ('No data provided')
  at exports.PNG.emit (node:events:507:17)
  at exports.PNG.emit (node:domain:488:12)
  at exports.PNG.PNG.pack ...

After further inspection pixelData is empty on this layer.

Is this the intended behaviour? Is there any workaround for this?

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

1 participant