diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-02-18 23:02:19 -0800 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-02-18 23:02:19 -0800 |
| commit | 02f1a943d37797fae66e09bd8404ac9f2901dfba (patch) | |
| tree | cc2c881e3d6ca4d43b9a711ceb5e994d0e20379e /pbWrangler.py | |
auto commit for upload to remote
Diffstat (limited to 'pbWrangler.py')
| -rw-r--r-- | pbWrangler.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pbWrangler.py b/pbWrangler.py new file mode 100644 index 0000000..e1fdb8c --- /dev/null +++ b/pbWrangler.py @@ -0,0 +1,18 @@ +#!/usr/bin/python + +GRADIENT_PARAM_LIST = "flip flop tilt rotate subtract width height color2 color1 brightness saturation blurriness hue contrast gradienttype bevel percentbeveled halftone stripes stripenumber stripeintensity format name" + +GRID_PARAM_LIST = "width height linethickness opacity linecolor spacing vlines hlines shadow bgimage bgcolor imageinstead planebgcolor skycolor planebgimage transition swing tilt roll zoom trim format username" + +BREAK_PARAM_LIST = "breakmode breaktype breakangle url username firsttime" + +PB_PARAM_LIST = "url transparent flip flop rotate subtract fuzz width height black white brightness saturation hue contrast background compose format name" + +class PBwrangler: + def __init__(self, pb): + self.pblist = {'imgradient':GRADIENT_PARAM_LIST, 'imgrid':GRID_PARAM_LIST, 'imbreak':BREAK_PARAM_LIST, 'im':PB_PARAM_LIST} + self.paramlist = pblist[pb] + for param in self.paramlist: + setattr(self, param, "") + def PBwrangle(self): + |
