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

Add webContents.copyImageAt(x, y) #6619

Merged
merged 2 commits into from Jul 27, 2016

Conversation

Projects
None yet
3 participants
@kevinsawicki
Contributor

kevinsawicki commented Jul 26, 2016

Adds a new copyImageAt API to webContents that copies the image at the given position to the clipboard.

Allows you to easily implement the behavior of the Copy Image context menu in Chrome.

Closes #6553

kevinsawicki added some commits Jul 26, 2016

@paulcbetts

This comment has been minimized.

Contributor

paulcbetts commented Jul 26, 2016

@zcbenz

This comment has been minimized.

Contributor

zcbenz commented Jul 27, 2016

👍

@zcbenz zcbenz merged commit 99b5231 into master Jul 27, 2016

8 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
electron-linux-arm Build #3706394 succeeded in 40s
Details
electron-linux-ia32 Build #3706395 succeeded in 38s
Details
electron-linux-x64 Build #3706396 succeeded in 71s
Details
electron-mas-x64 Build #2014 succeeded in 6 min 3 sec
Details
electron-osx-x64 Build #2013 succeeded in 6 min 40 sec
Details
electron-win-ia32 Build #1025 succeeded in 6 min 13 sec
Details
electron-win-x64 Build #1013 succeeded in 6 min 21 sec
Details

@zcbenz zcbenz deleted the web-contents-copy-image-at branch Jul 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment