A shell script to achieve a similar effect to content-aware scaling with ImageMagick.
sudo curl -o '/usr/local/bin/liquid-rescale' 'https://raw.githubusercontent.com/hectorm/liquid-rescale/master/liquid-rescale'
sudo chown root:root /usr/local/bin/liquid-rescale
sudo chmod 755 /usr/local/bin/liquid-rescale
liquid-rescale input.jpg [output.gif] [256x256]