Captain is currently in ALPHA. We are happy to get your feedback
Core API
Helpers Png

Module: helpers/png

Table of contents

Functions

Functions

copyWithMetaData

copyWithMetaData(«destructured»): Promise<undefined | string>

Parameters

NameType
«destructured»Object
› destinationstring
› metadata?ComfyUIFileMetaData
› sourcestring

Returns

Promise<undefined | string>

Defined in

src/electron/helpers/png.ts:47 (opens in a new tab)


writePngMetaData

writePngMetaData(filePath, metadata): Promise<Result<{}>>

Parameters

NameType
filePathstring
metadataComfyUIFileMetaData

Returns

Promise<Result<{}>>

Defined in

src/electron/helpers/png.ts:15 (opens in a new tab)