mushanshitiancai / vscode-paste-image

paste image from clipboard to markdown/asciidoc directly!
MIT License
423 stars 128 forks source link

Get wrong result when copy file directly from finder and paste in vscode #16

Closed moddyan closed 7 years ago

moddyan commented 7 years ago

After copy a jpg file (press cmd+c when focus the file in finder) and paste in vs code, I got the below image.

qq20170829-201545

when the original image attached below b4adbe3eb661d32d1bf83ac692e5e48b_b

mushanshitiancai commented 7 years ago

你的原图很有意思😊

这个是finder的行为。在finder中选中文件按ctrl+c,finder会把文件的logo图片复制到剪贴板。你可以在其他软件中粘贴,会发现也是一样的结果。

我的解决办法是打开文件后在复制。不知道是否还有更好的方法。