clipboard
clipboard copied to clipboard
Is `clipboard.Write(clipboard.FmtImage, []byte)` not design to copy any other format than `PNG`?
I am working on a feature for freeze that copies the generated image and this are the resulting images if not using a PNG format.
-
.webp -
.svg -
.png
When pasting the broken images in Notes application it looks like:
[!NOTE] The
.pngimage looks the same inNotesas it does pasting it here.
OS information
- Version: MacOS 14.5 (23F79)
@changkun when using gclip -copy -f <imagename>.svg it will copy it as text instead of an image, maybe it will need some kind of conversion to png or something to work properly.