Thursday, January 24, 2013

linux: image resize via imagemagick

download and compile ImageMagick from source ImageMagick.tar.gz

to retain exif just resize:
/usr/local/bin/convert -resize 1024 <source file> <destination file>

to create a lighter file, create thumbnail:
/usr/local/bin/convert -thumbnail 200 <source file> <destination file>

;)

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...