setaspect

command module
v0.0.0-...-5ed7212 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 13 Imported by: 0

README

Set Aspect

setaspect is a simple CLI to adjust the aspect ratio of PNG images by adding transparent padding.

Really, I just want to post screenshots on twitter and have them formattted appropriately.

For that reason, the default aspect ratio is 16:9.

Installation

go install github.com/chrisseto/setaspect@latest

Usage

Write to an output file:

setaspect -o ./what-i-will-post-on-twitter.png /.my-screenshot.png

Or redirect to an output file

setaspect ./my-screenshot.png > ./what-i-will-post-on-twitter.png

Or just use the online version.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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