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

feat: added the functionality to save images from the clipboard to PN… #16

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

huaiyinfeilong
Copy link
Contributor

  • Added the functionality to save images from the clipboard to PNG files using the hotkey NVDA+Alt+Print Screen.
  • Modified the clipboard editor to save images in PNG format.

…G files using a hotkey

* Added the functionality to save images from the clipboard to PNG files using the hotkey NVDA+Alt+Print Screen.
* Modified the clipboard editor to save images in PNG format.
Comment on lines +907 to +909
import sys
import os
sys.path.append(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind moving the import to the top?

Comment on lines +914 to +916
from PIL import Image, ImageGrab
from io import BytesIO
try:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto, I think this could also be moved to the top

Comment on lines +236 to 245
import sys
import os
sys.path.append(
os.path.abspath(
os.path.join(os.path.dirname(__file__), "..", "_py3_contrib")
)
)
from PIL import Image, ImageGrab
from io import BytesIO
try:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also does the same thing, i.e. moves the imports to the top

@huaiyinfeilong
Copy link
Contributor Author

huaiyinfeilong commented May 27, 2024 via email

@huaiyinfeilong
Copy link
Contributor Author

huaiyinfeilong commented May 27, 2024 via email

@huaiyinfeilong
Copy link
Contributor Author

huaiyinfeilong commented May 27, 2024 via email

@cary-rowen cary-rowen merged commit ae8e6ba into cary-rowen:master Jun 7, 2024
2 checks passed
@cary-rowen
Copy link
Owner

Thanks @huaiyinfeilong
I will adjust the import separately.

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

Successfully merging this pull request may close these issues.

None yet

2 participants