Skip to content

chrisseto/setaspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published