readImage
readImage():
Promise
<Image
>
Defined in: index.ts:99
Gets the clipboard content as Uint8Array image.
- Android / iOS: Not supported.
Promise
<Image
>
import { readImage } from '@tauri-apps/plugin-clipboard-manager';
const clipboardImage = await readImage();const blob = new Blob([await clipboardImage.rgba()], { type: 'image' })const url = URL.createObjectURL(blob)
2.0.0
© 2025 Tauri Contributors. CC-BY / MIT