insert_hwp_image
Insert an image into an HWPX file by adding it to BinData, registering it in content.hpf, and appending a paragraph with an inline image element.
Instructions
Insert a new image into an .hwpx — adds the file to BinData/, registers it in content.hpf, and appends a paragraph with an inline hp:pic. Args: file_path, source_path, ext (png/jpg/bmp/gif; auto from source_path if omitted), output_path (optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| source_path | Yes | ||
| ext | No | ||
| output_path | No |