@@ -0,0 +1,560 @@
+import os%0Aimport time, datetime%0A%0Aimport PIL%0Afrom PIL import Image%0A%0Anewwidth = 512%0Anewheight = 512%0Aquality_val = 70%0A%0Anow = datetime.datetime.utcnow().isoformat()%0Achannels = %5B'171','193','211','304'%5D%0A%0Afor c in channels:%0A    filename = %22%7B%7D-%7B%7D.jpg%22.format(c,now)%0A    os.system(%22wget http://umbra.nascom.nasa.gov/images/latest_aia_%7B%7D.gif -O %7B%7D%22.format(c,filename))%0A    time.sleep(1)%0A    downloadedimage = Image.open(filename).convert('RGB')%0A    downloadedimage = downloadedimage.resize((newwidth, newheight), PIL.Image.ANTIALIAS)%0A    downloadedimage.save(filename)%0A

Add aia.py