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

paste image on windows is many times slower than typora #92

Open
kongdd opened this issue Dec 11, 2022 · 1 comment
Open

paste image on windows is many times slower than typora #92

kongdd opened this issue Dec 11, 2022 · 1 comment

Comments

@kongdd
Copy link

kongdd commented Dec 11, 2022

The following script could be a better option.
https://gist.github.com/ohaval/f5182a14a8c65cc40d1c4a400bb02389

@kongdd
Copy link
Author

kongdd commented Dec 11, 2022

Measure-Command {.\win10_save_clipboard_png.exe a.png }
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 12
Ticks             : 122906
TotalDays         : 1.42252314814815E-07
TotalHours        : 3.41405555555556E-06
TotalMinutes      : 0.000204843333333333
TotalSeconds      : 0.0122906
TotalMilliseconds : 12.2906
Measure-Command {.\win10_save_clipboard_png.ps1 a.png }
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 87
Ticks             : 870741
TotalDays         : 1.00780208333333E-06
TotalHours        : 2.418725E-05
TotalMinutes      : 0.001451235
TotalSeconds      : 0.0870741
TotalMilliseconds : 87.0741
Measure-Command {.\win32_save_clipboard_png.ps1 a.png }
no image
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 801
Ticks             : 8012596
TotalDays         : 9.27383796296296E-06
TotalHours        : 0.000222572111111111
TotalMinutes      : 0.0133543266666667
TotalSeconds      : 0.8012596
TotalMilliseconds : 801.2596

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