aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-08-05 20:25:45 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-05 20:32:26 +0200
commitd4e3cb4c03d81d02a348e72ec0f95b8233d80bfd (patch)
treefe10c6c3239541c3396c5013c36e7afdfa1de2ea /scripts
parent00f4f8d54c94a9d0d8d56e2b501caa6699d6ddb4 (diff)
improve sync spinner
Diffstat (limited to 'scripts')
-rw-r--r--scripts/img/reload.xcfbin28597 -> 25292 bytes
-rw-r--r--scripts/img/reload_scaled.pngbin905 -> 0 bytes
-rwxr-xr-xscripts/make_spinner.py2
3 files changed, 2 insertions, 0 deletions
diff --git a/scripts/img/reload.xcf b/scripts/img/reload.xcf
index c3ce165adb..dc8be62831 100644
--- a/scripts/img/reload.xcf
+++ b/scripts/img/reload.xcf
Binary files differ
diff --git a/scripts/img/reload_scaled.png b/scripts/img/reload_scaled.png
deleted file mode 100644
index 9a45b1bd1d..0000000000
--- a/scripts/img/reload_scaled.png
+++ /dev/null
Binary files differ
diff --git a/scripts/make_spinner.py b/scripts/make_spinner.py
index c1f94c12c2..1d4ee0202d 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)