mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
improve sync spinner
This commit is contained in:
parent
00f4f8d54c
commit
d4e3cb4c03
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 905 B |
@ -15,6 +15,7 @@ NUMFRAMES=35
|
|||||||
FRAMERATE=10.0
|
FRAMERATE=10.0
|
||||||
CONVERT='convert'
|
CONVERT='convert'
|
||||||
CLOCKWISE=True
|
CLOCKWISE=True
|
||||||
|
DSIZE=(16,16)
|
||||||
|
|
||||||
im_src = Image.open(SRC)
|
im_src = Image.open(SRC)
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ for frame in xrange(NUMFRAMES):
|
|||||||
if CLOCKWISE:
|
if CLOCKWISE:
|
||||||
rotation = -rotation
|
rotation = -rotation
|
||||||
im_new = im_src.rotate(rotation, Image.BICUBIC)
|
im_new = im_src.rotate(rotation, Image.BICUBIC)
|
||||||
|
im_new.thumbnail(DSIZE, Image.ANTIALIAS)
|
||||||
outfile = frame_to_filename(frame)
|
outfile = frame_to_filename(frame)
|
||||||
im_new.save(outfile, 'png')
|
im_new.save(outfile, 'png')
|
||||||
frame_files.append(outfile)
|
frame_files.append(outfile)
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user