set_image_fill_from_path
Import a local PNG, JPEG, GIF or WebP into a Figma node fill. Validated by binary signature and sent only to the open file for direct use.
Instructions
Import a local PNG, JPEG, GIF or WebP file into a node fill. The file is read only on this computer, validated by binary signature and sent only to the open Figma file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| imagePath | Yes | ||
| scaleMode | No | FILL |