new posters and icons
This commit is contained in:
parent
ab07ccc8ba
commit
3984264bc4
18 changed files with 290 additions and 214 deletions
20
oximage/padma_poster.py
Normal file
20
oximage/padma_poster.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
|
||||
import sys
|
||||
from optparse import OptionParser
|
||||
from imagetools import render_padma_poster
|
||||
|
||||
def main():
|
||||
parser = OptionParser()
|
||||
parser.add_option('-i', '--id', dest='id', help='Pad.ma Id')
|
||||
parser.add_option('-t', '--title', dest='title', help='Title')
|
||||
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
||||
parser.add_option('-l', '--timeline', dest='frame', help='Timeline (image file to be read)')
|
||||
parser.add_option('-p', '--poster', dest='poster', help='Poster (image file to be written)')
|
||||
(options, args) = parser.parse_args()
|
||||
if None in (options['id'], options['poster']):
|
||||
parser.print_help()
|
||||
sys.exit()
|
||||
render_padma_poster(options)
|
||||
Loading…
Add table
Add a link
Reference in a new issue