It was was converted from the wi-alien.svg icon using
ImageMagick’s convert utility:
convert wi-alien.svg -type TrueColor alien.jpg
1""" 2alien.py 3======== 4 5 .. figure:: /_static/alien.png 6 :align: center 7 8 Randomly draw a jpg using the fast method on the display. 910 The alien.jpg is from the Erik Flowers Weather Icons available from11 https://github.com/erikflowers/weather-icons and is licensed under12 SIL OFL 1.11314 It was was converted from the wi-alien.svg icon using15 ImageMagick's convert utility:1617 convert wi-alien.svg -type TrueColor alien.jpg18"""1920importgc21importrandom22importgc9a0123importtft_config242526defmain():27"""28 Decode and draw jpg on display29 """30gc.enable()31gc.collect()3233tft=tft_config.config(tft_config.TALL)3435# enable display and clear screen36tft.init()3738# cache width and height39width=tft.width()40height=tft.height()4142# display jpg in random locations43whileTrue:44tft.rotation(random.randint(0,4))45tft.jpg(46"alien.jpg",47random.randint(0,width-30),48random.randint(0,height-30),49gc9a01.FAST,50)515253main()