We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a8226 commit 7c9c5c3Copy full SHA for 7c9c5c3
examples/export_layers_as_png.py
@@ -32,7 +32,7 @@ def main():
32
if not os.path.exists(layer_path):
33
os.makedirs(layer_path)
34
image_path = os.path.join(layer_path, f"{layer.name}.png")
35
- doc.saveAs(image_path, True, options)
+ doc.saveAs(image_path, options=options, asCopy=True)
36
ps.alert("Task done!")
37
ps.echo(doc.activeLayer)
38
0 commit comments