Added a "Color Picker to Clipboard" Button #418
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a button on the side of the image editor that allows the user to click anywhere on the image to extract the color of that pixel, which it then copies to the clipboard in the usual #RRGGBB hex format.
greenshot_colorpicker.mp4
This is a feature/tool I've been wanting to have for a while, and have never found anything that works quite the way I want. I've been using greenshot for a while now and have gotten used to using it enough that I feel like its a perfect platform for something like this. I'd understand if this feature can't be added because people might not like it and theres no way to add a way to disable it because of a lack of localization strings, but I figured I'd try and see anyway in case ya'll decide it can be added. I'm happy to make any adjustments requested. I'd like to add some buttons at the top of the screen when active that can do things like disable/enable the "#" character, and toggle between lowercase/uppercase, but I'm guessing that'd probably be a no-go because we'd need localized strings for the tooltips. Speaking of tooltips, the added button is using the same string as the existing color picker form. Hopefully thats ok?
Also, I'll acknowledge that a similar functionality already exists inside the "Color Picker" form/dialog, but the idea of this feature is that it should be easy to use and should heavily reduce the amount of clicks needed to copy a color.
Let me know what you think!