Fixed efficient saving

This commit is contained in:
Andrew Murray 2018-02-28 05:53:31 +11:00
parent aef98ef102
commit de80b8f36b

View File

@ -323,6 +323,7 @@ def _save(im, fp, filename):
im_scaled = im.resize((w*2, w*2), Image.LANCZOS)
im_scaled.save(os.path.join(iconset, prefix+'@2x.png'))
last_w = w*2
last_im = im_scaled
# iconutil -c icns -o {} {}