Skip to content

Empty pixelData on some image layers #294

@davidprifti

Description

@davidprifti

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions