From d4e3cb4c03d81d02a348e72ec0f95b8233d80bfd Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Fri, 5 Aug 2011 20:25:45 +0200 Subject: improve sync spinner --- scripts/make_spinner.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/make_spinner.py') diff --git a/scripts/make_spinner.py b/scripts/make_spinner.py index c1f94c12c..1d4ee0202 100755 --- a/scripts/make_spinner.py +++ b/scripts/make_spinner.py @@ -15,6 +15,7 @@ NUMFRAMES=35 FRAMERATE=10.0 CONVERT='convert' CLOCKWISE=True +DSIZE=(16,16) im_src = Image.open(SRC) @@ -30,6 +31,7 @@ for frame in xrange(NUMFRAMES): if CLOCKWISE: rotation = -rotation im_new = im_src.rotate(rotation, Image.BICUBIC) + im_new.thumbnail(DSIZE, Image.ANTIALIAS) outfile = frame_to_filename(frame) im_new.save(outfile, 'png') frame_files.append(outfile) -- cgit v1.2.3