[**simplex-chat**](README.md) *** [simplex-chat](README.md) / [core](Namespace.core.md) / chatResizeImageUri # Function: chatResizeImageUri() > **chatResizeImageUri**(`image`, `maxSize`): `Promise`\<`string`\> Defined in: [src/core.ts:115](../core.ts#L115) Resize image to a data URI of at most maxSize characters ## Parameters ### image `ArrayBuffer` \| `Uint8Array`\<`ArrayBufferLike`\> ### maxSize `number` ## Returns `Promise`\<`string`\>