> ## Documentation Index
> Fetch the complete documentation index at: https://base.bangwu.me/llms.txt
> Use this file to discover all available pages before exploring further.

# ShareX

> ShareX is an open-source screenshot and recording tool with automatic WebP compression via ffmpeg, covering action configuration and workflow.

# ShareX

ShareX is a very powerful open-source screenshot and sharing tool with lots of customization options. What I like most is that it can automatically compress screenshots to WebP format, which reduces image size significantly.

Software structure:

![](https://cdn.bangwu.top/img/202312181628293.webp)

Download page: [https://github.com/ShareX/ShareX/releases/tag/v16.0.1](https://github.com/ShareX/ShareX/releases/tag/v16.0.1)

I recommend downloading the portable version because it includes `ffmpeg` and can be used for compression directly.

Then create a new action in the ShareX action settings:

![chrome\_1712151713](https://cdn.bangwu.top/img/chrome_1712151713.webp)

* name: anything
* file path: the installation path of `ffmpeg`, pointing directly to the executable
* parameters: `-i "$input" -q 75 "$output"` where `-q 75` means 75% quality compression
* output file extension: webp
* extension filter: png
* enable the options below for **hide window** and **delete input file**

Then enable `execute action` in the screenshot task settings.

![chrome\_1712151800](https://cdn.bangwu.top/img/chrome_1712151800.webp)
