Live data from Hacker News

Flameshot – Open-source screenshot software

flameshot.org

111–120 of 132 posts

Re: Flameshot – Open-source screenshot software

#111
post #93

I use Flameshot combined with Tesseract and zbarimg to quickly clip areas of the screen and either OCR them or decode barcodes, which I then map to hotkey combinations. For example, I have `bash -c 'flameshot gui -s -r | tesseract - - | gxmessage -title "Decoded Data" -fn "Consolas 12" -wrap -geometry 640x480 -file -'` mapped to Super+O, so I can just press the key combo, select a region of the screen, and have the O…

Great idea - I ended up experimenting to improve the ocr accuracy: #!/bin/bash screenshot=$(mktemp) decoded_data=$(mktemp) processed_data=$(mktemp) cleanup() { rm "$screenshot" "$decoded_data" "$processed_data" } trap cleanup EXIT flameshot gui -s -r > "$screenshot" convert "$screenshot" \ -colorspace Gray \ -scale 1191x2000 \ -unsharp 6.8x2.69+0 \ -resize 500% \ "$screenshot" tesseract \ --dpi 300 \ --oem 1 "$screen…

Nice! Once you start getting complex, a standalone script might be a good idea. But it should be noted that your ImageMagick processing can also be inserted into the original one-liner:

    bash -c 'flameshot gui -s -r | convert - -colorspace Gray -scale 1191x2000 -unsharp 6.8x2.69+0 -resize 500% png:- | tesseract - - | gxmessage -title "Decoded Data" -fn "Consolas 12" -wrap -geometry 640x480 -file -'

Re: Flameshot – Open-source screenshot software

#113

On Mac I swear by CleanShot X [1] which has more than justified its price many times over for me. [1] https://cleanshot.com/

I agree, CleanShot X is the best thing I've found. Open to any alternatives that someone knows about, though!

Re: Flameshot – Open-source screenshot software

#114

great app. I use the rectangle, arrow, and numbering annotation tools frequently

Numbering tool is a nice touch.

Click click click, paste in email and reference the numbers… much more clear than arrows and scribbles all over the place.

Re: Flameshot – Open-source screenshot software

#115
I'm a big fan of Greenshot. My only issue with it is that it's not available on Linux, which I use occasionally.

Re Flameshot, I've tried it and it generally works well for me. My only beef is that the layout of the icons around the captured area is dynamic, changing based on the shape and size of the area, requiring me to actively search for an icon instead of finding it in a static, predictable location.

Re: Flameshot – Open-source screenshot software

#116
I've been using it for years. Being able to quickly add arrows and highlights is fantastic.

My only wish is for it to be able to open existing files. I wish I could just open an image, make some edits, and save it. Unfortunately, you can only make edits to screenshots.

Re: Flameshot – Open-source screenshot software

#118
post #115

I'm a big fan of Greenshot. My only issue with it is that it's not available on Linux, which I use occasionally. Re Flameshot, I've tried it and it generally works well for me. My only beef is that the layout of the icons around the captured area is dynamic, changing based on the shape and size of the area, requiring me to actively search for an icon instead of finding it in a static, predictable location.

I worked for an organization with more than 150000 employees. All their PCs had Greenshot pre-installed and it was part of their standard software. Greenshot was used a ton over more than a decade, maybe still is, and (observed from my limited view) loved very much.

They never payed a cent to the developer - shame on them.

Re: Flameshot – Open-source screenshot software

#119
post #111

Earlier quoted context omitted.

Great idea - I ended up experimenting to improve the ocr accuracy: #!/bin/bash screenshot=$(mktemp) decoded_data=$(mktemp) processed_data=$(mktemp) cleanup() { rm "$screenshot" "$decoded_data" "$processed_data" } trap cleanup EXIT flameshot gui -s -r > "$screenshot" convert "$screenshot" \ -colorspace Gray \ -scale 1191x2000 \ -unsharp 6.8x2.69+0 \ -resize 500% \ "$screenshot" tesseract \ --dpi 300 \ --oem 1 "$screen…

Nice! Once you start getting complex, a standalone script might be a good idea. But it should be noted that your ImageMagick processing can also be inserted into the original one-liner: bash -c 'flameshot gui -s -r | convert - -colorspace Gray -scale 1191x2000 -unsharp 6.8x2.69+0 -resize 500% png:- | tesseract - - | gxmessage -title "Decoded Data" -fn "Consolas 12" -wrap -geometry 640x480 -file -'

Indeed; I just wanted to break it into sequential steps so that in case of issues, I can conveniently add debugging steps in the middle as needed.

Re: Flameshot – Open-source screenshot software

#120
post #62

I don't understand the fascination with blur. It's terrible from a security/privacy perspective. The data is still in the image. Sure you can add randomization to the blur to make it less easy to undo(I haven't looked if Flameshot does or not, most don't). If you crop the stuff you want out of the image, there is no data there to do anything with. Every screenshot tool I've ever come across has a blur tool but no cut…

Flameshot has a draw-rectangle function. So you can just draw a red or black rectangle on top of things.

And since it's a PNG file, I assume, It won't be layered! nice!
Post reply on HN