Writes image buffer to the clipboard.
A promise indicating the success or failure of the operation.
import { writeImage } from '@tauri-apps/plugin-clipboard-manager';const buffer = [ // A red pixel 255, 0, 0, 255, // A green pixel 0, 255, 0, 255,];await writeImage(buffer); Copy
import { writeImage } from '@tauri-apps/plugin-clipboard-manager';const buffer = [ // A red pixel 255, 0, 0, 255, // A green pixel 0, 255, 0, 255,];await writeImage(buffer);
2.0.0
Writes image buffer to the clipboard.
Platform-specific