golang command line image editor Use one command, gidit or install them all seperately
go get github.com/bsdpunk/gidit
Resize png file Examples:
gidit 1000 file.png
gidit 1000 500 file.png
or
gisize 1000 file.png
gisize 1000 500 file.png
If only one size is given the aspect ratio will be maintained
Sample:
gidit 30 one.png
or
gisize 30 one.png
Result is out.png
Append an image, to the right of an image
gidit cat one.png two.png
or
gicat one.png two.png
Result is newtwo.png
Append an image to the bottom of an image
gidit append newtwo.png newtwo.png
or
giappend newtwo.png newtwo.png
Result is newnewtwo.png
Create empty image
gidit create 200 200
or
gicreate 200 200