Skip to content

Fix Clipboard Inspector: saved image was invalid (66 bytes) - #375

Merged
slaveofcode merged 1 commit into
mainfrom
develop
Sep 2, 2026
Merged

Fix Clipboard Inspector: saved image was invalid (66 bytes)#375
slaveofcode merged 1 commit into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Save passed the blob-URL string to downloadService.download (expects a Blob), so the File System Access path wrote the URL text to disk — a saved PNG came out 66 bytes and invalid. New entryToBlob() resolves the real bytes before saving.

Save passed item.blobUrl (an object-URL string) to downloadService.download,
which expects a Blob — the File System Access path then wrote the ~60-char URL
to disk, so a saved PNG was 66 bytes and invalid. New entryToBlob() fetches the
real bytes back (or wraps text) before saving.
@slaveofcode
slaveofcode merged commit a82f03c into main Sep 2, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant