insert_hwp_image
Inserts an image into an .hwpx Hangul Word Processor file by adding it to BinData, registering in content.hpf, and appending an inline paragraph with the image.
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 |