Live data from Hacker News

Flameshot – Open-source screenshot software

flameshot.org

121–130 of 132 posts

Re: Flameshot – Open-source screenshot software

#121
post #69
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…

With blur there can also be no data (as you said -with randomization, you can even blur randomized text instead of the real one). But the fascination is easily explained - it looks better as it "fits" the rest of your image vs having some jarring black rectangle

> you can even blur randomized text instead of the real one

I've never ever seen that in the wild, but that would def. make it sane to use the blur tool.

Re: Flameshot – Open-source screenshot software

#122
post #28

Earlier quoted context omitted.

Why not just use the built in system screenshot tool if you just want to copy or save? ShareX can pop up an editor after a screenshot which I do use a lot.

My apologies as I was not clear. Copy or Save after crop, and arrows, numbers etc. Thank you for pointing out that ShareX has an editor. I was aware that it has that feature but I do not remember the specifics on why I went back to Flameshot. The lacking features of Flameshot is that once you move away from the editor, you can not go back and make alterations. Not that I am aware of anyway.

I've used ShareX and Greenshot, and the latter is more straightforward. I don't want to upload retouched/annotated screenshots, but ShareX is a image sharing application at its core, so it had too much unused baggage for me. Greenshot hits the sweet spot for my use cases perfectly.

Also, Greenshot is lighter and snappier than every other Windows screenshot application I've tried.

Re: Flameshot – Open-source screenshot software

#123
post #68

For the last 10(ish) years I've been using Greenshot [1]. I haven't found any issues with it but it is only available on Windows and Mac. [1] https://getgreenshot.org/

Greenshot is great! I use it on Windows, and ksnip on everything else atm as it has similar draw arrows/annotation features.

If ksnip is cross-platform, may I ask why don't you use it everywhere, if it's so similar to Greenshot?

BTW I've never heard of Ksnip before. I gotta try it.

Re: Flameshot – Open-source screenshot software

#124
This is the tool I have been looking for quite some time. I don't know why my searches returned only the simplest screenshot tools that are available on Linux. I have been using ShareX on Windows and was surprised to not find a similarly powerful tool on Linux. Now, I know that it was because of my rusty duck-duck-fu (or search is basically useless nowadays).

Thank you for sharing.

Re: Flameshot – Open-source screenshot software

#125
post #89
post #78

Spectacle from KDE and Flameshot both really good .

The annotate/draw in-place in flameshot just made me convert from spectacle. Also on i3 spectacle is sometimes buggy, it misfires or loses the capture.

Might be old version? Plasma 6 spectacle have in place annotations and even video recording.

Re: Flameshot – Open-source screenshot software

#126
post #16

Having briefly tried it I have to say it's not as clear or easy to use as ShareX (another open-source screenshot tool). The monochrome icons are really not intuitive or easy to discern at a glance. Another commenter asks why it's not possible to trigger with the PrtScn key and I would also think that is an essential feature.

I recently switched my daily driver from Ubuntu to MacOS. I used PrtScrn to trigger Flameshot on Linux, and it was trivial to do the same on MacOS.

Perhaps it's harder on Windows?

Re: Flameshot – Open-source screenshot software

#127
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…

If you've installed Flameshot using homebrew on MacOS, this will do a similar thing:

  /opt/homebrew/Caskroom/flameshot/12.1.0/flameshot.app/Contents/MacOS/flameshot gui -s -r | tesseract - - | (text=$(cat) && osascript -e "display dialog \"$text\" with title \"OCR Result\" buttons {\"OK\"} default button \"OK\"")

Re: Flameshot – Open-source screenshot software

#128
post #89
post #78

Spectacle from KDE and Flameshot both really good .

The annotate/draw in-place in flameshot just made me convert from spectacle. Also on i3 spectacle is sometimes buggy, it misfires or loses the capture.

Spectacle is completely different now.

Re: Flameshot – Open-source screenshot software

#129
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…

Last year, when I want to find a tool to do the sanpshot and OCR job, I found flameshot. However, the OCR feature hasn't been added as native function due to some issues I'm not very clear.

So I spent some time added the OCR function into flameshot. I didn't choose to compile tesseract into flameshot, but using the rest api way to call a server running remotely. The reason for this way is I also added llama.cpp translation feature after OCR.

Here're github repositories for my fork of flameshot and the OCR and translation server which is written causually in Rust.

https://github.com/jason-ni/flameshot https://github.com/jason-ni/flameshot-ocr-server

Re: Flameshot – Open-source screenshot software

#130
post #68

Earlier quoted context omitted.

Greenshot is great! I use it on Windows, and ksnip on everything else atm as it has similar draw arrows/annotation features.

If ksnip is cross-platform, may I ask why don't you use it everywhere, if it's so similar to Greenshot? BTW I've never heard of Ksnip before. I gotta try it.

I haven't used Greenshot in a couple months, but I think I remember it being better than ksnip, will have to look again.
Post reply on HN