Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is clipboard.Write(clipboard.FmtImage, []byte) not design to copy any other format than PNG? #58

Open
AlejandroSuero opened this issue Jun 9, 2024 · 1 comment

Comments

@AlejandroSuero
Copy link

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
    image

  • .svg
    image

  • .png
    image

When pasting the broken images in Notes application it looks like:

Screenshot 2024-06-09 at 21 08 39

Note

The .png image looks the same in Notes as it does pasting it here.

OS information

  • Version: MacOS 14.5 (23F79)
@AlejandroSuero
Copy link
Author

@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.

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

No branches or pull requests

1 participant