~t-w-/backtestground/packaging

« back to all changes in this revision

Viewing changes to backtestground-0.4-0ubuntu1/bin/extract-background-context

  • Committer: Thorsten Wilms
  • Date: 2011-01-23 17:01:32 UTC
  • Revision ID: t_w_@freenet.de-20110123170132-f9ghojtxruz6pkme
Copy from trunk r163, prepare 0.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
"""
4
4
Background Context Extractor commandline tool
5
5
 
6
 
Takes one screenshot with white, and one with shadow-color
 
6
Expects one screenshot with white, and one with shadow-color
7
7
(usually black), background. Puts out a PNG image with transparent desktop.
8
8
 
9
9
This is usefull for evaluationg wallpapers that should go well with panels
48
48
        (usually black) desktops.""")
49
49
    parser.add_argument('-v', '--version',
50
50
                        action='version',
51
 
                        version='%(prog)s 1.1',
 
51
                        version='%(prog)s 1.3',
52
52
                        help="print program version")
53
53
    parser.add_argument('white',
54
54
                        type=file,