This commit is contained in:
esimov
2021-12-16 15:00:52 +02:00

View File

@@ -92,7 +92,7 @@ The following flags are supported:
| `out` | - | Output file | | `out` | - | Output file |
| `width` | n/a | New width | | `width` | n/a | New width |
| `height` | n/a | New height | | `height` | n/a | New height |
| `preview` | true | Show process preview window | | `preview` | true | Show GUI window |
| `perc` | false | Reduce image by percentage | | `perc` | false | Reduce image by percentage |
| `square` | false | Reduce image to square dimensions | | `square` | false | Reduce image to square dimensions |
| `blur` | 1 | Blur radius | | `blur` | 1 | Blur radius |
@@ -103,7 +103,7 @@ The following flags are supported:
### GUI progress indicator ### GUI progress indicator
<p align="center"><img alt="GUI preview" title="GUI preview" src="https://user-images.githubusercontent.com/883386/146201119-9fa7f1be-4540-42b5-96f7-1969a2a0c0ec.gif"></p> <p align="center"><img alt="GUI preview" title="GUI preview" src="https://github.com/esimov/caire/raw/master/gui_preview.gif"></p>
A GUI preview window is also supported for showing the resizing process. For the GUI part I've opted of using the Gio library for its robustness and modern architecture. But in order to use it you have to install all of its dependencies. So please check the installation section here: https://gioui.org/#installation. A GUI preview window is also supported for showing the resizing process. For the GUI part I've opted of using the Gio library for its robustness and modern architecture. But in order to use it you have to install all of its dependencies. So please check the installation section here: https://gioui.org/#installation.