We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3fb1d commit 1051db4Copy full SHA for 1051db4
plugins/clipboard-manager/guest-js/index.ts
@@ -90,7 +90,7 @@ async function writeImage(
90
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
91
*
92
* const clipboardImage = await readImage();
93
- * const blob = new Blob([clipboardImage.bytes], { type: 'image' })
+ * const blob = new Blob([await clipboardImage.rbga()], { type: 'image' })
94
* const url = URL.createObjectURL(blob)
95
* ```
96
* @since 2.0.0
0 commit comments