https://github.com/essentialkaos/rsz
Simple utility for image resizing
https://github.com/essentialkaos/rsz
image-processing image-resizer
Last synced: 4 months ago
JSON representation
Simple utility for image resizing
- Host: GitHub
- URL: https://github.com/essentialkaos/rsz
- Owner: essentialkaos
- License: apache-2.0
- Created: 2021-09-10T10:22:22.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2026-01-14T20:38:55.000Z (5 months ago)
- Last Synced: 2026-01-15T00:49:40.692Z (5 months ago)
- Topics: image-processing, image-resizer
- Language: Go
- Homepage: https://kaos.sh/rsz
- Size: 408 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
Installation • Command-line completion • Man documentation • Usage • CI Status • Contributing • License
`rsz` is a simple utility for image resizing.
### Installation
#### From source
To build the `rsz` from scratch, make sure you have a working Go 1.23+ workspace (_[instructions](https://go.dev/doc/install)_), then:
```
go install github.com/essentialkaos/rsz@latest
```
#### Prebuilt binaries
You can download prebuilt binaries for Linux and macOS from [EK Apps Repository](https://apps.kaos.st/rsz/latest):
```bash
bash <(curl -fsSL https://apps.kaos.st/get) rsz
```
#### Container Image
The latest version of `rsz` also available as container image on [Docker Hub](https://kaos.sh/d/rsz) and [GitHub Container Registry](https://kaos.sh/p/rsz):
```bash
podman run --rm -it ghcr.io/essentialkaos/rsz:latest image.png 0.55 thumbnail.png
# or
docker run --rm -it ghcr.io/essentialkaos/rsz:latest image.png 0.55 thumbnail.png
```
### Upgrading
Since version `1.2.0` you can update `rsz` to the latest release using [self-update feature](https://github.com/essentialkaos/.github/blob/master/APPS-UPDATE.md):
```bash
rsz --update
```
This command will runs a self-update in interactive mode. If you want to run a quiet update (_no output_), use the following command:
```bash
rsz --update=quiet
```
### Command-line completion
You can generate completion for `bash`, `zsh` or `fish` shell.
Bash:
```bash
sudo rsz --completion=bash 1> /etc/bash_completion.d/rsz
```
ZSH:
```bash
sudo rsz --completion=zsh 1> /usr/share/zsh/site-functions/rsz
```
Fish:
```bash
sudo rsz --completion=fish 1> /usr/share/fish/vendor_completions.d/rsz.fish
```
### Man documentation
You can generate man page using next command:
```bash
rsz --generate-man | sudo gzip > /usr/share/man/man1/rsz.1.gz
```
### Usage

### CI Status
| Branch | Status |
|--------|--------|
| `master` | [](https://kaos.sh/w/rsz/ci-push?query=branch:master) |
| `develop` | [](https://kaos.sh/w/rsz/ci-push?query=branch:develop) |
### Contributing
Before contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/.github/blob/master/CONTRIBUTING.md).
### License
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)