Losslessly compress images

Close use-init/init#121