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

Can I add the function of automatically adding borders after screenshots? #2985

Closed
HeliusHao opened this issue Nov 16, 2022 · 2 comments
Closed
Labels
Duplicate This issue/PR is duplicated and the duplicated issue/PR is commented. Enhancement Feature requests and code enhancements

Comments

@HeliusHao
Copy link

Feature Description

Can I add the function of automatically adding borders after screenshots? thinak

@HeliusHao HeliusHao added the Enhancement Feature requests and code enhancements label Nov 16, 2022
@qoreQyaS
Copy link

do you ask if you may add the functionality of automatically adding a border to a screenshot and want that merged into flameshot or if you are asking if someone could do that for you or if its already possible?

your label hints to the former case, my crystal ball to the latter.

i would do this with imagemagick

see https://imagemagick.org/script/command-line-options.php#border for an explanation of the options

flameshot gui --raw | convert -bordercolor white -border 20 - output.jpg
this adds a 20px white border to the screenshots and saves it as output.jpg in the wd

@mmahmoudian
Copy link
Member

mmahmoudian commented Dec 10, 2022

There is already a peripheral dmenu script that does what you are asking and more:

https://codeberg.org/mehrad/dmenu_shot

You can see what it does here:

https://codeberg.org/mehrad/dmenu_shot/src/branch/main/docs/actions.md

Also this is duplicate of #690

@mmahmoudian mmahmoudian added the Duplicate This issue/PR is duplicated and the duplicated issue/PR is commented. label Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue/PR is duplicated and the duplicated issue/PR is commented. Enhancement Feature requests and code enhancements
Projects
None yet
Development

No branches or pull requests

3 participants