summaryrefslogtreecommitdiff
path: root/Pb/Pattern/__init__.py
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-09-11 18:54:37 -0700
committeryo mama <pepper@scannerjammer.com>2015-09-11 18:54:37 -0700
commitf904b1b552134e6b8701d9d94c7fed321011ae94 (patch)
treefd898841f2a84bf3cccc7e1d2894d02c425cabc5 /Pb/Pattern/__init__.py
parent7aaa91d7a090e4ab9be979160622f4c48e3d9b46 (diff)
finished the params class, almost done with pb master class
Diffstat (limited to 'Pb/Pattern/__init__.py')
-rwxr-xr-xPb/Pattern/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Pb/Pattern/__init__.py b/Pb/Pattern/__init__.py
index 905ddf9..7c53746 100755
--- a/Pb/Pattern/__init__.py
+++ b/Pb/Pattern/__init__.py
@@ -11,9 +11,9 @@ import simplejson as json
from PIL import Image
import uuid
-FUSE_MODE="Pin_Light"
+_fuse_mode="Pin_Light"
-class Pattern(Pb):
+class Impattern(Pb):
def __init__(self, **kwargs):
self.params = {}
self.tag = "imPattern";
@@ -149,7 +149,7 @@ class Pattern(Pb):
self._call_cmd(cmd)
#third step
- def _fuse_mask(self, fuse_mode=FUSE_MODE):
+ def _fuse_mask(self, fuse_mode=_fuse_mode):
cmd = [BIN_CONVERT, "-dispose", "2", self.filepath, "null:",
self._downloaded_file, "-matte", "-compose", fuse_mode, "-layers", "composite",
self.filepath]