> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# weaveImage

> TypeScript SDK 레퍼런스

<div id="weaveimage">
  # weaveImage
</div>

▸ **weaveImage**(`options`): [`WeaveImage`](../interfaces/weaveimage)

새로운 WeaveImage 객체를 생성합니다

<div id="parameters">
  #### 매개변수
</div>

| 이름        | 유형                | 설명                                                                                               |
| :-------- | :---------------- | :----------------------------------------------------------------------------------------------- |
| `options` | `WeaveImageInput` | 이 미디어 유형에 대한 옵션입니다. - data: Buffer 형식의 원시 이미지 데이터 - imageType: (선택) 이미지 파일 유형이며 현재는 'png'만 지원됩니다 |

<div id="returns">
  #### 반환값
</div>

[`WeaveImage`](../interfaces/weaveimage)

`Example`

```ts twoslash theme={null}
// @noErrors
const imageBuffer = fs.readFileSync('path/to/image.png');
const weaveImage = weaveImage({ data: imageBuffer });
```

<div id="defined-in">
  #### 정의 위치
</div>

[src/media.ts:28](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/media.ts#L28)

***
