plevia.blogg.se

Download last fm collage generator
Download last fm collage generator






download last fm collage generator download last fm collage generator

Ideal for using it offline or being kind to the last.fm servers." print " \n Specific switches for the 'tile' mode (-m tile):" print "-a, -AlbumSize: size of the albums, in pixel." print "-s, -Interspace: space between in tile, in pixel." print " \n Specific switches for the 'glass' mode (-m glass):" print "-n, -AlbumNumber: number of albums to show." print "-d, -EndPoint: controls when the shadow ends, in percentage of the album size." print "-r, -Offset: starting value of opacity for the shadow." print " \n Specific switches for the 'collage' mode (-m collage):" print "-a, -AlbumSize: size of the albums, in pixel." print "-o, -AlbumOpacity: maximum opacity of each album, from 0 to 100." print "-n, -AlbumNumber: number of albums to show." print "-g, -GradientSize: portion of the album in the gradient, from 0 to 100" print "-p, -Passes: number of iterations of the algorithms." sys. = image size by default." print "-e, -Cache: path to the cache." print "-x, -ExcludedList: excluded urls, comma separated." print "-l, -Local: use a local copy of the charts.

download last fm collage generator download last fm collage generator

Format: numberxnumber" print "-c, -CanvasSize: size of the canvas. from 0 to 100" print "-i, -ImageSize: size of the final image. One of 3month,6month,12month or overall." print "-O, -FinalOpacity: darkness of the final image. Username by default." print "-t, -Past: how far back should the profile go. 13 July 2009 _author_ = 'Koant ()' _version_ = '$13 July 2009$' _date_ = '$Date: 3 $' _copyright_ = 'Copyright (c) 2008 Koant' _license_ = 'GPL' from urllib import urlopen from xml.dom import minidom import os import os.path import sys from getopt import getopt import random import Image import ImageDraw import ImageFilter def usage (): print "Quick examples" print "-" print "./wallpaperfm.py -m tile -u your_lastfm_username will generate an image with all your favorite albums tiled up in a random order." print "./wallpaperfm.py -m glass -u your_lastfm_username will generate an image with a small random collection of albums, with a glassy effect." print "./wallpaperfm.py -m collage -u your_lastfm_username will generate a random collage of your favorite albums." print " \n Global switches:" print "-u, -Username: your last.fm username." print "-f, -Filename: the filename where the image will be saved. a last.fm account and an active internet connection # v. Python Imaging Library (probably already installed, available through synaptic for Ubuntu users) #. wallpaper.py will display the instructions # Requirements: #. #!/usr/bin/python # Wallpaperfm.py is a python script that generates desktop wallpapers from your last.fm music profile.








Download last fm collage generator