Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/experdot/pointer
/ copyImageToClipboard
Function
copyImageToClipboard
src/renderer/src/utils/screenshot.ts:89–91 ·
view source on GitHub ↗
(blob: Blob)
Source
from the content-addressed store, hash-verified
87
* Copy image to clipboard
88
*/
89
export
async
function
copyImageToClipboard(blob: Blob): Promise<void> {
90
await
navigator.clipboard.write([
new
ClipboardItem({
'image/png'
: blob })])
91
}
Callers
1
handleCopyImage
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected