rsz

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

Codacy GitHub Actions CI Status GitHub Actions CodeQL Status

InstallationCommand-line completionMan documentationUsageCI StatusContributingLicense


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.22+ workspace (instructions), then:

go install github.com/essentialkaos/rsz@latest

Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from EK Apps Repository:

bash <(curl -fsSL https://apps.kaos.st/get) rsz

Container Image

The latest version of rsz also available as container image on Docker Hub and GitHub Container Registry:

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

Command-line completion

You can generate completion for bash, zsh or fish shell.

Bash:

sudo rsz --completion=bash 1> /etc/bash_completion.d/rsz

ZSH:

sudo rsz --completion=zsh 1> /usr/share/zsh/site-functions/rsz

Fish:

sudo rsz --completion=fish 1> /usr/share/fish/vendor_completions.d/rsz.fish

Man documentation

You can generate man page using next command:

rsz --generate-man | sudo gzip > /usr/share/man/man1/rsz.1.gz

Usage

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL