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 feature #28

Merged
merged 3 commits into from
Mar 16, 2025
Merged

Paste Image feature #28

merged 3 commits into from
Mar 16, 2025

Conversation

mfulz
Copy link

@mfulz mfulz commented Feb 27, 2025

As discussed in #27 here is the PR

Copy link
Owner

@kynan kynan left a comment

Choose a reason for hiding this comment

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

Thanks for sending this PR!

@@ -9,6 +9,11 @@
import time
import subprocess

from PIL import ImageGrab
Copy link
Owner

Choose a reason for hiding this comment

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

In this case I think moving the import into the paste_image function might be prudent: with a top-level import, PIL becomes a required dependency even if one never uses pasting from the clipboard. wdyt?

Copy link
Author

Choose a reason for hiding this comment

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

I've used the same way like xmlrpc check and included a check inside the pasteimage function including error message on missing module.

Copy link
Owner

Choose a reason for hiding this comment

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

I'm slightly confused what this file is needed for?

Copy link
Author

Choose a reason for hiding this comment

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

Sorry that whole folder shouldn't be there it happend by mistake will remove it.

Copy link
Owner

Choose a reason for hiding this comment

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

I'm slightly confused what this file is needed for?

Copy link
Author

Choose a reason for hiding this comment

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

Removed the folder

@mfulz mfulz requested a review from kynan March 2, 2025 22:52
Copy link
Owner

@kynan kynan left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, much appreciated 👍🏽

@kynan kynan merged commit 172a4f5 into kynan:master Mar 16, 2025
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.

2 participants