image
Insert, update, replace, delete, or extract pictures in HWPX/HWP documents, with controls for position, size, crop, effects, and captions.
Instructions
그림. action: insert(at, path?, data?, frame?, margin?, inner_margin?, caption?, crop?, effect?, brightness?, contrast?, alpha?, flip?, rotation?, line?, effects?); update(target, reset_size?, frame?, margin?, inner_margin?, caption?, crop?, effect?, brightness?, contrast?, alpha?, flip?, rotation?, line?, effects?); replace(target, path?, data?); delete(target); extract(target, out_path)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Locator(한 점: s0/p3:5, doc:end, before:#p4 …) | |
| crop | No | image.crop 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') | |
| data | No | base64로 쓴 바이트 | |
| flip | No | image.flip 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') | |
| line | No | image.line 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') | |
| path | No | 읽을 파일의 절대 경로 | |
| alpha | No | ||
| frame | No | image.frame 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') | |
| action | Yes | ||
| effect | No | ||
| handle | No | document.new/open이 준 handle | |
| margin | No | image.margin 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') | |
| target | No | Locator(노드 하나: #tbl7, s0/p3) | |
| caption | No | ||
| effects | No | image.effects 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') | |
| contrast | No | ||
| out_path | No | 쓸 파일의 절대 경로 | |
| rotation | No | ||
| brightness | No | ||
| reset_size | No | ||
| inner_margin | No | image.inner_margin 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm') |