Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natefinch/convert
An application to convert and resize images written in Go.
https://github.com/natefinch/convert
Last synced: 28 days ago
JSON representation
An application to convert and resize images written in Go.
- Host: GitHub
- URL: https://github.com/natefinch/convert
- Owner: natefinch
- License: mit
- Created: 2014-09-10T14:17:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-10T17:01:25.000Z (about 10 years ago)
- Last Synced: 2024-06-20T12:38:02.495Z (5 months ago)
- Language: Go
- Size: 108 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
convert
=======An application to convert and resize images written in Go.
```
convert creates a copy of the given image file, changing its format as indicated
by the file's extension and optionally downscaling it. Only supports gif,
jpg (jpeg), or png input and output.Usage:
convert [options]
Options:
-h: Constrain height of output image to this many pixels.
-s: Constrain size (height and width) of output image to this many pixels.
-w: Constrain width of output image to this many pixels.Example: (convert from png to jpg and constrain to max 1024 on either side)
convert -s 1024 foo.png foo.jpg
```