Skip to content

Bug: Smart filters are not supported #183

@fatlun91

Description

@fatlun91

When I read the psd file and the layers contain smart filters, the program crashes

Image
Traceback (most recent call last):
  File "/Users/lun/PycharmProjects/PythonProject/main_ps_api.py", line 29, in <module>
    replace_image(psd_file, pt_file, new_psd_file)
  File "/Users/lun/PycharmProjects/PythonProject/main_ps_api.py", line 21, in replace_image
    psd.write(pathlib.Path(new_psd), True)
RuntimeError: Tried to construct the mesh with vertices that are less than 1e-2 (0.01) across one of the axis. Trying to construct this mesh would cause the Octree calculation to fail. If called from the context of a layer this is likely a mistake in the transformation. The bounding box of the vertices is [-inf, -inf]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions