Skip to content
natefinchPublic

About

An application to convert and resize images written in Go.

Resources

Stars

10 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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] <image_filename> <out_filename>

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

About

An application to convert and resize images written in Go.

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址